mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-12 23:10:34 +00:00
bit more CAutomobile
This commit is contained in:
parent
07c6c7d0a2
commit
e9cafe340a
9 changed files with 219 additions and 18 deletions
|
@ -117,6 +117,15 @@ public:
|
|||
bool IsObject(void) { return m_type == ENTITY_TYPE_OBJECT; }
|
||||
bool IsDummy(void) { return m_type == ENTITY_TYPE_DUMMY; }
|
||||
|
||||
RpAtomic *GetAtomic(void) {
|
||||
assert(RwObjectGetType(m_rwObject) == rpATOMIC);
|
||||
return (RpAtomic*)m_rwObject;
|
||||
}
|
||||
RpClump *GetClump(void) {
|
||||
assert(RwObjectGetType(m_rwObject) == rpCLUMP);
|
||||
return (RpClump*)m_rwObject;
|
||||
}
|
||||
|
||||
void GetBoundCentre(CVector &out);
|
||||
CVector GetBoundCentre(void) { CVector v; GetBoundCentre(v); return v; }
|
||||
float GetBoundRadius(void) { return CModelInfo::GetModelInfo(m_modelIndex)->GetColModel()->boundingSphere.radius; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue