添加一个接受宽高参数的 `setOrtho` 重载方法,以简化常见2D场景下的相机设置。同时更新示例代码以使用新方法,使代码更简洁易读。 |
||
|---|---|---|
| .. | ||
| components | ||
| component.h | ||
| director.h | ||
| node.h | ||
| scene.h | ||
| scene_module.h | ||
添加一个接受宽高参数的 `setOrtho` 重载方法,以简化常见2D场景下的相机设置。同时更新示例代码以使用新方法,使代码更简洁易读。 |
||
|---|---|---|
| .. | ||
| components | ||
| component.h | ||
| director.h | ||
| node.h | ||
| scene.h | ||
| scene_module.h | ||