Changes in uspace/lib/softrend/transform.h [3e6a98c5:071fefec] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/softrend/transform.h
r3e6a98c5 r071fefec 39 39 #include <stdbool.h> 40 40 41 #ifndef PI 42 #define PI 3.141592653589793 43 #endif 41 #define TRANSFORM_MATRIX_DIM 3 44 42 45 43 typedef struct { 46 double m [3][3];44 double matrix[TRANSFORM_MATRIX_DIM][TRANSFORM_MATRIX_DIM]; 47 45 } transform_t; 48 46 49 extern void transform_multiply(transform_t *, const transform_t *, const transform_t *); 47 extern void transform_product(transform_t *, const transform_t *, 48 const transform_t *); 50 49 extern void transform_invert(transform_t *); 51 50
Note:
See TracChangeset
for help on using the changeset viewer.