19#ifndef __KOS_MATRIX3D_H
20#define __KOS_MATRIX3D_H
97 float znear,
float zfar);
void mat_rotate_x(float r)
Rotate around the X-axis.
void mat_rotate(float xr, float yr, float zr)
Rotate around all axes.
void mat_perspective(float xcenter, float ycenter, float cot_fovy_2, float znear, float zfar)
Set up a perspective view frustum.
void mat_lookat(const point_t *eye, const point_t *center, const vector_t *up)
Set up a "camera".
void mat_rotate_y(float r)
Rotate around the Y-axis.
void mat_scale(float x, float y, float z)
Perform a 3D scale operation.
void mat_rotate_z(float r)
Rotate around the Z-axis.
void mat_translate(float x, float y, float z)
Perform a 3D translation.
4-part vector type.
Definition vector.h:42