mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-08 14:16:52 +02:00
fix build
This commit is contained in:
@@ -1088,9 +1088,13 @@ namespace TR {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
struct fixed {
|
union fixed {
|
||||||
|
uint32 value;
|
||||||
|
struct {
|
||||||
uint16 L;
|
uint16 L;
|
||||||
int16 H;
|
int16 H;
|
||||||
|
};
|
||||||
|
|
||||||
operator float() const {
|
operator float() const {
|
||||||
return H + L / 65535.0f;
|
return H + L / 65535.0f;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user