Update models_billboard.c

This commit is contained in:
Ray 2024-07-07 21:02:35 +02:00
parent 43fe992b94
commit 9764fef262

View File

@ -45,7 +45,7 @@ int main(void)
Vector3 billUp = { 0.0f, 1.0f, 0.0f };
// 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
// Here we choose to rotate around the image center