27#ifndef EASY3D_RENDERER_TRANSFORM_H
28#define EASY3D_RENDERER_TRANSFORM_H
30#include <easy3d/core/types.h>
56 mat4 ortho(
float left,
float right,
float bottom,
float top,
float near,
float far);
65 mat4 ortho(
float left,
float right,
float bottom,
float top);
78 mat4 frustum(
float left,
float right,
float bottom,
float top,
float near,
float far);
101 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:71
Vec< 3, float > vec3
A 3D point/vector of float type.
Definition types.h:44
Mat4< float > mat4
A 4 by 4 matrix of float type.
Definition types.h:67
Mat3< float > mat3
A 3 by 3 matrix of float type.
Definition types.h:65
Vec< 4, float > vec4
A 4D point/vector of float type.
Definition types.h:46
Vec< 2, float > vec2
A 2D point/vector of float type.
Definition types.h:42