srp
software rendering pipeline
Loading...
Searching...
No Matches
mat.h File Reference
#include "srp/vec.h"
Include dependency graph for mat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mat4
 
typedef struct mat4 mat4
 
vec4 mat4MultiplyVec4 (const mat4 *restrict a, vec4 b)
 
mat4 mat4MultiplyMat4 (const mat4 *restrict a, const mat4 *restrict b)
 
mat4 mat4ConstructIdentity ()
 
mat4 mat4ConstructScale (float x, float y, float z)
 
mat4 mat4ConstructTranslate (float x, float y, float z)
 
mat4 mat4ConstructRotate (float x, float y, float z)
 
mat4 mat4ConstructTRS (float transX, float transY, float transZ, float rotataionX, float rotataionY, float rotataionZ, float scaleX, float scaleY, float scaleZ)
 
mat4 mat4ConstructView (float cameraX, float cameraY, float cameraZ, float rotationX, float rotationY, float rotationZ, float scaleX, float scaleY, float scaleZ)
 
mat4 mat4ConstructOrthogonalProjection (float x_min, float x_max, float y_min, float y_max, float z_min, float z_max)
 
mat4 mat4ConstructPerspectiveProjection (float x_min_near, float x_max_near, float y_min_near, float y_max_near, float z_near, float z_far)
 

Detailed Description

mat4 definition