Refactor engine to support double-precision vectors
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user