Replacing PlaneProjection
Posted: 17 Jun 2020, 20:37
Hi, I'm upgrading a project that uses an old version of Noesis to the latest one.
I noticed that PlaneProjection class was dropped, how can I replace its functionality preserving all properties: CenterOfRotation, GlobalOffset, LocalOffset and Rotation.
Basically, if you guys could disclose the implementation of this dropped function, it will solve my problem:
I noticed that PlaneProjection class was dropped, how can I replace its functionality preserving all properties: CenterOfRotation, GlobalOffset, LocalOffset and Rotation.
Basically, if you guys could disclose the implementation of this dropped function, it will solve my problem:
Code: Select all
//(Include/NsGui/PlaneProjection.h:)
static Math::Matrix4f ConstructProjectionMatrix(
const Drawing::Size& surface, const Drawing::Size& size,
NsFloat32 centerX, NsFloat32 centerY, NsFloat32 centerZ,
NsFloat32 globalOffX, NsFloat32 globalOffY, NsFloat32 globalOffZ,
NsFloat32 localOffX, NsFloat32 localOffY, NsFloat32 localOffZ,
NsFloat32 rotX, NsFloat32 rotY, NsFloat32 rotZ);