perspective projection in vecmat3 and tX test program

This commit is contained in:
2023-04-08 17:31:06 +02:00
parent 2922330c80
commit c24efe43a1
8 changed files with 386 additions and 8 deletions

View File

@@ -190,6 +190,9 @@ void euler2rotmat(const T *eul, Mat3<T> &a, const char *type, bool transpose=0,
template<typename T>
void rotmat2euler(T *eul, const Mat3<T> &a, const char *type, bool transpose=0, bool direction=0, bool reverse=0);
template<typename T>
void perspective(T *proj_xy, const Vec3<T> &point, const Mat3<T> &camera_angle, const Vec3<T> &camera, const Vec3<T> &plane_to_camera);
}//namespace
#endif /* _VECMAT3_H_ */