mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Fix downward shadows at time 12000 (#16326)
This commit is contained in:
parent
4f42b4308c
commit
f71e1447c9
2 changed files with 9 additions and 1 deletions
|
@ -303,12 +303,14 @@ public:
|
|||
CMatrix4<T> &buildProjectionMatrixOrthoRH(f32 widthOfViewVolume, f32 heightOfViewVolume, f32 zNear, f32 zFar, bool zClipFromZero = true);
|
||||
|
||||
//! Builds a left-handed look-at matrix.
|
||||
//! NOTE: upVector must not be collinear to the postion-to-target vector
|
||||
CMatrix4<T> &buildCameraLookAtMatrixLH(
|
||||
const vector3df &position,
|
||||
const vector3df &target,
|
||||
const vector3df &upVector);
|
||||
|
||||
//! Builds a right-handed look-at matrix.
|
||||
//! NOTE: upVector must not be collinear to the postion-to-target vector
|
||||
CMatrix4<T> &buildCameraLookAtMatrixRH(
|
||||
const vector3df &position,
|
||||
const vector3df &target,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue