 |
Open Broadcaster Software
Free, open source software for live streaming and recording
|
Go to the documentation of this file.
36 static inline void matrix4_copy(
struct matrix4 *dst,
const struct matrix4 *
m)
44 static inline void matrix4_identity(
struct matrix4 *dst)
66 const struct vec3 *v);
68 const struct vec4 *v);
70 const struct quat *q);
74 const struct vec3 *v);
89 static inline void matrix4_translate3f(
struct matrix4 *dst,
94 vec3_set(&v,
x,
y,
z);
98 static inline void matrix4_rotate_aa4f(
struct matrix4 *dst,
100 float y,
float z,
float rot)
103 axisang_set(&aa,
x,
y,
z, rot);
108 float x,
float y,
float z)
111 vec3_set(&v,
x,
y,
z);
EXPORT void matrix4_mul(struct matrix4 *dst, const struct matrix4 *m1, const struct matrix4 *m2)
EXPORT void matrix4_scale(struct matrix4 *dst, const struct matrix4 *m, const struct vec3 *v)
EXPORT float matrix4_determinant(const struct matrix4 *m)
EXPORT void matrix4_from_axisang(struct matrix4 *dst, const struct axisang *aa)
EXPORT void matrix4_rotate_aa(struct matrix4 *dst, const struct matrix4 *m, const struct axisang *aa)
EXPORT void matrix4_transpose(struct matrix4 *dst, const struct matrix4 *m)
__m128 m
Definition: vec4.h:37
#define EXPORT
Definition: c99defs.h:37
EXPORT void matrix4_translate3v(struct matrix4 *dst, const struct matrix4 *m, const struct vec3 *v)
EXPORT void matrix4_translate4v_i(struct matrix4 *dst, const struct vec4 *v, const struct matrix4 *m)
float x
Definition: axisang.h:31
float z
Definition: vec3.h:37
EXPORT void matrix4_translate3v_i(struct matrix4 *dst, const struct vec3 *v, const struct matrix4 *m)
float z
Definition: axisang.h:31
struct vec4 x y z t
Definition: matrix4.h:33
float y
Definition: vec3.h:37
EXPORT void matrix4_rotate(struct matrix4 *dst, const struct matrix4 *m, const struct quat *q)
EXPORT bool matrix4_inv(struct matrix4 *dst, const struct matrix4 *m)
__m128 m
Definition: vec3.h:40
float x
Definition: vec3.h:37
float y
Definition: vec4.h:34
float w
Definition: vec4.h:34
float y
Definition: axisang.h:31
float z
Definition: vec4.h:34
EXPORT void matrix4_from_matrix3(struct matrix4 *dst, const struct matrix3 *m)
EXPORT void matrix4_from_quat(struct matrix4 *dst, const struct quat *q)
EXPORT void matrix4_translate4v(struct matrix4 *dst, const struct matrix4 *m, const struct vec4 *v)
EXPORT void matrix4_rotate_aa_i(struct matrix4 *dst, const struct axisang *aa, const struct matrix4 *m)
EXPORT void matrix4_rotate_i(struct matrix4 *dst, const struct quat *q, const struct matrix4 *m)
float x
Definition: vec4.h:34
EXPORT void matrix4_scale_i(struct matrix4 *dst, const struct vec3 *v, const struct matrix4 *m)