You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix various typos
* Add TODO notes for typos that should be fixed for 5.0 Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
@@ -174,7 +174,7 @@ void RendererSceneRender::CameraData::set_multiview_camera(uint32_t p_view_count
|
||||
Vector3 local_min_vec = main_transform_inv.xform(min_vec);
|
||||
Vector3 local_max_vec = main_transform_inv.xform(max_vec);
|
||||
|
||||
// 15. get x and y from these to obtain left, top, right bottom for the frustum. Get the distance from near plane to camera origin to obtain near, and the distance from the far plane to the camer origin to obtain far.
|
||||
// 15. get x and y from these to obtain left, top, right bottom for the frustum. Get the distance from near plane to camera origin to obtain near, and the distance from the far plane to the camera origin to obtain far.
|
||||
float z_near = -near_plane.distance_to(main_transform.origin);
|
||||
float z_far = -far_plane.distance_to(main_transform.origin);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user