Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/softrend/transform.h

    r071fefec r3e6a98c5  
    3939#include <stdbool.h>
    4040
    41 #define TRANSFORM_MATRIX_DIM  3
     41#ifndef PI
     42#define PI 3.141592653589793
     43#endif
    4244
    4345typedef struct {
    44         double matrix[TRANSFORM_MATRIX_DIM][TRANSFORM_MATRIX_DIM];
     46        double m[3][3];
    4547} transform_t;
    4648
    47 extern void transform_product(transform_t *, const transform_t *,
    48     const transform_t *);
     49extern void transform_multiply(transform_t *, const transform_t *, const transform_t *);
    4950extern void transform_invert(transform_t *);
    5051
Note: See TracChangeset for help on using the changeset viewer.