18#ifndef _MODELINSTANCE_H_
19#define _MODELINSTANCE_H_
21#include <G3D/Matrix3.h>
22#include <G3D/Vector3.h>
65 static bool readFromFile(FILE* rf,
ModelSpawn& spawn);
66 static bool writeToFile(FILE* rw,
ModelSpawn const& spawn);
75 bool intersectRay(G3D::Ray
const& pRay,
float& pMaxDist,
bool pStopAtFirstHit,
ModelIgnoreFlags ignoreFlags)
const;
76 bool GetLocationInfo(G3D::Vector3
const& p,
LocationInfo& info)
const;
77 bool GetLiquidLevel(G3D::Vector3
const& p,
LocationInfo& info,
float& liqHeight)
const;
78 G3D::Matrix3
const&
GetInvRot()
const {
return iInvRot; }
G3D::Matrix3 const & GetInvRot() const
WorldModel const * getWorldModel() const
bool operator==(ModelMinimalData const &other) const
G3D::AABox const & getBounds() const