mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
uninitialized variables-scene
This commit is contained in:
parent
8aa03a4ac9
commit
7392d598da
|
|
@ -75,7 +75,7 @@ class SceneCullingVolume
|
||||||
public:
|
public:
|
||||||
|
|
||||||
/// Create an *uninitialized* culling volume.
|
/// Create an *uninitialized* culling volume.
|
||||||
SceneCullingVolume() {}
|
SceneCullingVolume() : mType(Includer), mSortPoint(1.f) {}
|
||||||
|
|
||||||
///
|
///
|
||||||
SceneCullingVolume( Type type, const PlaneSetF& planes )
|
SceneCullingVolume( Type type, const PlaneSetF& planes )
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ class SceneZoneCullingState
|
||||||
CullingVolumeLink* mNext;
|
CullingVolumeLink* mNext;
|
||||||
|
|
||||||
CullingVolumeLink( const SceneCullingVolume& volume )
|
CullingVolumeLink( const SceneCullingVolume& volume )
|
||||||
: mVolume( volume ) {}
|
: mVolume( volume ) {mNext=NULL;}
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Iterator over the culling volumes assigned to a zone.
|
/// Iterator over the culling volumes assigned to a zone.
|
||||||
|
|
@ -134,7 +134,7 @@ class SceneZoneCullingState
|
||||||
|
|
||||||
/// Zone states are constructed by SceneCullingState. This constructor should not
|
/// Zone states are constructed by SceneCullingState. This constructor should not
|
||||||
/// be used otherwise. It is public due to the use through Vector in SceneCullingState.
|
/// be used otherwise. It is public due to the use through Vector in SceneCullingState.
|
||||||
SceneZoneCullingState() {}
|
SceneZoneCullingState():mCanShortcuit(false), mCullingVolumes(NULL), mHaveSortedVolumes(false), mHaveIncluders(false), mHaveOccluders(false){}
|
||||||
|
|
||||||
/// Return true if the zone is visible. This is the case if any
|
/// Return true if the zone is visible. This is the case if any
|
||||||
/// includers have been added to the zone's rendering state.
|
/// includers have been added to the zone's rendering state.
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,7 @@ class PathManager
|
||||||
Vector<U32> msToNext;
|
Vector<U32> msToNext;
|
||||||
|
|
||||||
PathEntry() {
|
PathEntry() {
|
||||||
|
totalTime = 0;
|
||||||
VECTOR_SET_ASSOCIATION(positions);
|
VECTOR_SET_ASSOCIATION(positions);
|
||||||
VECTOR_SET_ASSOCIATION(rotations);
|
VECTOR_SET_ASSOCIATION(rotations);
|
||||||
VECTOR_SET_ASSOCIATION(smoothingType);
|
VECTOR_SET_ASSOCIATION(smoothingType);
|
||||||
|
|
@ -105,7 +106,6 @@ class PathManager
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool mIsServer;
|
bool mIsServer;
|
||||||
bool mPathsSent;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct PathNode {
|
struct PathNode {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue