Skip to content

Commit

Permalink
More build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Jul 30, 2024
1 parent 05ded3e commit d6ed925
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 19 deletions.
1 change: 0 additions & 1 deletion Source/FileFormat/FileFormat/Novus/ClientDB/ClientDB.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#include "ClientDB.h"

#include <Base/Util/StringUtils.h>
Expand Down
22 changes: 4 additions & 18 deletions Source/FileFormat/FileFormat/Novus/Model/ComplexModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,27 +236,13 @@ namespace Model

struct CullingData
{
union
{
struct
{
hvec3 center;
hvec3 extents;
};
struct
{
hvec3 min;
hvec3 max;
};
};
public:
hvec3 center;
hvec3 extents;

f32 boundingSphereRadius;

CullingData() : boundingSphereRadius(0.0f)
{
center = hvec3(0.0f, 0.0f, 0.0f);
extents = hvec3(0.0f, 0.0f, 0.0f);
}
CullingData() : center(f16(0.0f)), extents(f16(0.0f)), boundingSphereRadius(0.0f) { }
};

struct Material
Expand Down

0 comments on commit d6ed925

Please sign in to comment.