Refactor engine to support double-precision vectors

This commit is contained in:
Wojtek Figat
2022-06-13 00:40:32 +02:00
parent f82e370392
commit a881c90b2e
744 changed files with 19062 additions and 12467 deletions

View File

@@ -57,7 +57,7 @@ private:
float _scaleInLightmap;
float _lodDistribution;
Vector3 _boundsExtent;
Vector3 _cachedScale;
Float3 _cachedScale;
Array<TerrainPatch*, InlinedAllocation<64>> _patches;
public:
@@ -445,7 +445,7 @@ public:
void OnDebugDrawSelected() override;
#endif
void OnLayerChanged() override;
bool IntersectsItself(const Ray& ray, float& distance, Vector3& normal) override;
bool IntersectsItself(const Ray& ray, Real& distance, Vector3& normal) override;
void Serialize(SerializeStream& stream, const void* otherObj) override;
void Deserialize(DeserializeStream& stream, ISerializeModifier* modifier) override;
RigidBody* GetAttachedRigidBody() const override;