diff options
| author | raysan5 <raysan5@gmail.com> | 2014-10-17 21:11:58 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2014-10-17 21:11:58 +0200 |
| commit | 9d27bba23f08e7749fd98c8b56b5fe34786926fd (patch) | |
| tree | 86ca65c923fc56535d14b1e8c6bf933808518e4e /src/models.c | |
| parent | 063e26c521dba1af582906df1e5b96fa37c82a16 (diff) | |
| download | raylib-9d27bba23f08e7749fd98c8b56b5fe34786926fd.tar.gz raylib-9d27bba23f08e7749fd98c8b56b5fe34786926fd.zip | |
Small Fixes Update (1.2.1)
View CHANGELOG for description on small fixes and add-ons
Diffstat (limited to 'src/models.c')
| -rw-r--r-- | src/models.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/models.c b/src/models.c index ab6abb55..d69322a8 100644 --- a/src/models.c +++ b/src/models.c @@ -448,7 +448,7 @@ void DrawCylinderWires(Vector3 position, float radiusTop, float radiusBottom, fl // Draw a plane void DrawPlane(Vector3 centerPos, Vector2 size, Vector3 rotation, Color color) { - // NOTE: QUADS usage require defining a texture + // NOTE: QUADS usage require defining a texture on OpenGL 3.3+ rlEnableTexture(1); // Default white texture // NOTE: Plane is always created on XZ ground and then rotated @@ -1145,6 +1145,7 @@ void DrawModelWires(Model model, Vector3 position, float scale, Color color) } // Draw a billboard +// TODO: Math review... void DrawBillboard(Camera camera, Texture2D texture, Vector3 center, float size, Color tint) { // NOTE: Billboard size will maintain texture aspect ratio, size will be billboard width @@ -1188,6 +1189,7 @@ void DrawBillboard(Camera camera, Texture2D texture, Vector3 center, float size, } // Draw a billboard (part of a texture defined by a rectangle) +// TODO: Math review... void DrawBillboardRec(Camera camera, Texture2D texture, Rectangle sourceRec, Vector3 center, float size, Color tint) { // NOTE: Billboard size will maintain sourceRec aspect ratio, size will represent billboard width |
