Update models_billboard.c
This commit is contained in:
parent
43fe992b94
commit
9764fef262
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user