mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-26 01:06:47 +00:00
Fix Windows build
This commit is contained in:
parent
a7cc4e6ba6
commit
4dd2f34e30
2 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@ namespace Nif
|
||||||
{
|
{
|
||||||
void NiBoundingVolume::read(NIFStream* nif)
|
void NiBoundingVolume::read(NIFStream* nif)
|
||||||
{
|
{
|
||||||
type = nif->getUInt();
|
nif->read(type);
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
case BASE_BV:
|
case BASE_BV:
|
||||||
|
|
|
@ -15,7 +15,7 @@ namespace Nif
|
||||||
|
|
||||||
struct NiBoundingVolume
|
struct NiBoundingVolume
|
||||||
{
|
{
|
||||||
enum Type
|
enum Type : uint32_t
|
||||||
{
|
{
|
||||||
BASE_BV = 0xFFFFFFFF,
|
BASE_BV = 0xFFFFFFFF,
|
||||||
SPHERE_BV = 0,
|
SPHERE_BV = 0,
|
||||||
|
@ -51,7 +51,7 @@ namespace Nif
|
||||||
osg::Vec3f origin;
|
osg::Vec3f origin;
|
||||||
};
|
};
|
||||||
|
|
||||||
unsigned int type{ BASE_BV };
|
uint32_t type{ BASE_BV };
|
||||||
osg::BoundingSpheref sphere;
|
osg::BoundingSpheref sphere;
|
||||||
NiBoxBV box;
|
NiBoxBV box;
|
||||||
NiCapsuleBV capsule;
|
NiCapsuleBV capsule;
|
||||||
|
|
Loading…
Reference in a new issue