浏览代码

Update models_billboard.c

pull/4139/head
Ray 10 个月前
父节点
当前提交
9764fef262
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      examples/models/models_billboard.c

+ 1
- 1
examples/models/models_billboard.c 查看文件

@ -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

正在加载...
取消
保存