Mercurial > hg > Game > Cerium
annotate Renderer/Engine/sys.h @ 848:a033d464c812 draft
addChild fix
author | tkaito |
---|---|
date | Sun, 06 Jun 2010 03:31:52 +0900 |
parents | 24054155368c |
children | 5e62924bd7d9 |
rev | line source |
---|---|
539 | 1 #ifndef CR_SYS_H |
2 #define CR_SYS_H | |
3 | |
283 | 4 void noMoreMemory(); |
5 void get_matrix(float *matrix, float *rxyz, float *txyz, float *stack); | |
6 void rotate_x(float *xyz, float r); | |
7 void rotate_y(float *xyz, float r); | |
8 void rotate_z(float *xyz, float r); | |
9 //void rotate(float *xyz, float *matrix, float *rxyz, float *txyz, float *stack[]); | |
10 void rotate(float *xyz, float *matrix); | |
11 void translate(float *xyz, float x, float y, float z); | |
12 void matrix4x4(float *, float *, float *); | |
13 | |
14 void normalize(float *v0, float *v1); | |
15 void subVector(float *v0, float *v1, float *v2); | |
16 void outerProduct(float *v0, float *v1, float *v2); | |
17 float innerProduct(float *v0, float *v1); | |
18 void applyMatrix(float *v0, float *m, float *v1); | |
19 void inversMatrix(float *m0, float *m1); | |
20 void transposeMatrix(float *m0, float *m1); | |
21 void unitMatrix(float *m); | |
22 void transMatrix(float *m0, float *m1, float *v); | |
677
24054155368c
add Load light info for some spe
yutaka@henri.cr.ie.u-ryukyu.ac.jp
parents:
539
diff
changeset
|
23 void ApplyMatrix(float *v1, float *v2); |
539 | 24 |
25 #endif |