Switch to using transformation matrices
This commit is contained in:
1 parent
9ba7a8c414
commit
b81304e759
7 files changed
+282
-96
No files matched your search
@@ -9,7 +9,7 @@ typedef struct {
|
||||
vec3f_t rotation;
|
||||
} camera_t;
|
||||
|
||||
vec2i_t project_point(vec3f_t point, const window_t *wnd,
|
||||
const camera_t *camera, vec3f_t viewport);
|
||||
mat4x4f_t inverse_camera_translation_matrix(const camera_t *camera);
|
||||
mat4x4f_t inverse_camera_rotation_matrix(const camera_t *camera);
|
||||
|
||||
#endif // !CAMERA_H
|
||||
Reference in new issue
Block a user