mirror of
https://github.com/aap/librw.git
synced 2025-12-19 00:49:50 +00:00
Merge pull request #102 from sr-tream/master
Fix deprecated enum operation
This commit is contained in:
@@ -343,7 +343,7 @@ struct Matrix
|
|||||||
void destroy(void);
|
void destroy(void);
|
||||||
void setIdentity(void);
|
void setIdentity(void);
|
||||||
void optimize(Tolerance *tolerance = nil);
|
void optimize(Tolerance *tolerance = nil);
|
||||||
void update(void) { flags &= ~(IDENTITY|TYPEMASK); }
|
void update(void) { flags &= ~(int(IDENTITY) | int(TYPEMASK)); }
|
||||||
static Matrix *mult(Matrix *dst, const Matrix *src1, const Matrix *src2);
|
static Matrix *mult(Matrix *dst, const Matrix *src1, const Matrix *src2);
|
||||||
static Matrix *invert(Matrix *dst, const Matrix *src);
|
static Matrix *invert(Matrix *dst, const Matrix *src);
|
||||||
static Matrix *transpose(Matrix *dst, const Matrix *src);
|
static Matrix *transpose(Matrix *dst, const Matrix *src);
|
||||||
|
|||||||
Reference in New Issue
Block a user