Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 948 vs 949 for /trunk/Source Code/Geometry/Shapes/Headers/Object3D.h

Diff revisions: vs.
  @@ -137,6 +137,9 @@
137 137 static vectorImpl<SceneGraphNode_wptr> filterByType(const vectorImpl<SceneGraphNode_wptr>& nodes, ObjectType filter);
138 138
139 139 protected:
140 + void rebuild();
141 + virtual void rebuildVB();
142 +
140 143 bool isPrimitive();
141 144 /// Use a custom vertex buffer for this object (e.g., a submesh uses the
142 145 /// mesh's vb)
  @@ -148,14 +151,13 @@
148 151 RenderPackage& pkgInOut) override;
149 152 protected:
150 153 GFXDevice& _context;
151 - bool _update;
154 + bool _geometryDirty;
152 155 bool _playAnimations;
153 156 U32 _geometryFlagMask;
154 157 U16 _geometryPartitionID;
155 158 ObjectType _geometryType;
156 159 RigidBodyShape _rigidBodyShape;
157 - /// 3 indices, pointing to position values, that form a triangle in the
158 - /// mesh.
160 + /// 3 indices, pointing to position values, that form a triangle in the mesh.
159 161 /// used, for example, for cooking collision meshes
160 162 vectorImpl<vec3<U32> > _geometryTriangles;
161 163 /// A custom, override vertex buffer