66 std::vector<CabTexcoord>& texcoords,
69 std::vector<CabSubmesh>& submeshes,
Central state/object manager and communications hub.
Core data structures for simulation; Everything affected by by either physics, network or user intera...
A visual mesh, forming a chassis for softbody actor At most one instance is created per actor.
FlexObjVertex * m_vertices
Ogre::Vector3 UpdateMesh()
unsigned short * m_indices
int ComputeVertexPos(int tidx, int v, std::vector< CabSubmesh > &submeshes)
Compute vertex position in the vertexbuffer (0-based offset) for node v of triangle tidx
RoR::GfxActor * m_gfx_actor
std::vector< Ogre::SubMesh * > m_submeshes
void ScaleFlexObj(float factor)
Ogre::HardwareVertexBufferSharedPtr m_hw_vbuf
Ogre::Vector3 UpdateFlexObj()
Ogre::VertexDeclaration * m_vertex_format
Submesh for old-style actor body (the "cab")
BackmeshType backmesh_type
Texture coordinates for old-style actor body (the "cab")
Physics: A vertex in the softbody structure.