Use C-style casts
This commit is contained in:
parent
df5664b4c1
commit
6052e159c6
@ -343,7 +343,7 @@ struct Matrix
|
||||
void destroy(void);
|
||||
void setIdentity(void);
|
||||
void optimize(Tolerance *tolerance = nil);
|
||||
void update(void) { flags &= ~(static_cast<int>(IDENTITY) | static_cast<int>(TYPEMASK)); }
|
||||
void update(void) { flags &= ~(int(IDENTITY) | int(TYPEMASK)); }
|
||||
static Matrix *mult(Matrix *dst, const Matrix *src1, const Matrix *src2);
|
||||
static Matrix *invert(Matrix *dst, const Matrix *src);
|
||||
static Matrix *transpose(Matrix *dst, const Matrix *src);
|
||||
|
Loading…
Reference in New Issue
Block a user