27#ifndef EASY3D_RENDERER_TRANSFORM_H
28#define EASY3D_RENDERER_TRANSFORM_H
30#include <easy3d/core/types.h>
51 mat4 ortho(
float left,
float right,
float bottom,
float top,
float near,
float far);
54 mat4 ortho(
float left,
float right,
float bottom,
float top);
61 mat4 frustum(
float left,
float right,
float bottom,
float top,
float near,
float far);
74 mat4 perspective(
float fov_y,
float width,
float height,
float near,
float far);
Definition: collider.cpp:182
Mat< 4, 3, float > mat43
A 4 by 3 matrix of float type.
Definition: types.h:72
Vec< 3, float > vec3
A 3D point/vector of float type.
Definition: types.h:45
Mat4< float > mat4
A 4 by 4 matrix of float type.
Definition: types.h:68
Mat3< float > mat3
A 3 by 3 matrix of float type.
Definition: types.h:66
Vec< 4, float > vec4
A 4D point/vector of float type.
Definition: types.h:47
Vec< 2, float > vec2
A 2D point/vector of float type.
Definition: types.h:43