mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Update models_billboard.c
This commit is contained in:
@ -45,7 +45,7 @@ int main(void)
|
|||||||
Vector3 billUp = { 0.0f, 1.0f, 0.0f };
|
Vector3 billUp = { 0.0f, 1.0f, 0.0f };
|
||||||
|
|
||||||
// Set the height of the rotating billboard to 1.0 with the aspect ratio fixed
|
// Set the height of the rotating billboard to 1.0 with the aspect ratio fixed
|
||||||
Vector2 size = { source.width / source.height, 1.0f };
|
Vector2 size = { source.width/source.height, 1.0f };
|
||||||
|
|
||||||
// Rotate around origin
|
// Rotate around origin
|
||||||
// Here we choose to rotate around the image center
|
// Here we choose to rotate around the image center
|
||||||
|
|||||||
Reference in New Issue
Block a user