5 #include "VectorMath.h"
20 std::string vehicleMeshId;
31 typedef std::vector<VehicleRenderdata> TVehicleRenderables;
32 typedef TVehicleRenderables::const_iterator TRenderableIter;
38 TRenderableIter Begin() {
return m_renderables.begin(); }
39 TRenderableIter End() {
return m_renderables.end(); }
41 void Preallocate(
int numVehicles);
42 void CalculateFlattenedPositionInPlace(
const dv3& initialPosition,
dv3& out_flattenedPosition);
46 const std::string& meshId,
48 float maxDrawDistanceSq,
51 const dv3& cameraEcefLocation);
53 TVehicleRenderables GetRenderables()
const {
return m_renderables; }
58 TVehicleRenderables m_renderables;