Mercurial > hg > Members > kono > Cerium
view Renderer/Engine/sys.h @ 603:42c94f85c779
long -> memaddr (64 or 32)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 07 Nov 2009 14:13:29 +0900 |
parents | 735f76483bb2 |
children | e201be3f6897 |
line wrap: on
line source
#ifndef CR_SYS_H #define CR_SYS_H void noMoreMemory(); void get_matrix(float *matrix, float *rxyz, float *txyz, float *stack); void rotate_x(float *xyz, float r); void rotate_y(float *xyz, float r); void rotate_z(float *xyz, float r); //void rotate(float *xyz, float *matrix, float *rxyz, float *txyz, float *stack[]); void rotate(float *xyz, float *matrix); void translate(float *xyz, float x, float y, float z); void matrix4x4(float *, float *, float *); void normalize(float *v0, float *v1); void subVector(float *v0, float *v1, float *v2); void outerProduct(float *v0, float *v1, float *v2); float innerProduct(float *v0, float *v1); void applyMatrix(float *v0, float *m, float *v1); void inversMatrix(float *m0, float *m1); void transposeMatrix(float *m0, float *m1); void unitMatrix(float *m); void transMatrix(float *m0, float *m1, float *v); #endif