mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-18 21:51:06 +03:00
feat(object): add CGObject_C::GetPosition
This commit is contained in:
parent
cb8291af1a
commit
6cb5310430
@ -103,6 +103,10 @@ CM2Model* CGObject_C::GetObjectModel() {
|
|||||||
return this->m_model;
|
return this->m_model;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
C3Vector CGObject_C::GetPosition() const {
|
||||||
|
return { 0.0f, 0.0f, 0.0f };
|
||||||
|
}
|
||||||
|
|
||||||
int32_t CGObject_C::IsInReenable() {
|
int32_t CGObject_C::IsInReenable() {
|
||||||
return this->m_inReenable;
|
return this->m_inReenable;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -36,6 +36,8 @@ class CGObject_C : public CGObject, public TSHashObject<CGObject_C, CHashKeyGUID
|
|||||||
virtual void HandleOutOfRange(OUT_OF_RANGE_TYPE type) {};
|
virtual void HandleOutOfRange(OUT_OF_RANGE_TYPE type) {};
|
||||||
virtual void UpdateWorldObject(int32_t a2);
|
virtual void UpdateWorldObject(int32_t a2);
|
||||||
// TODO
|
// TODO
|
||||||
|
virtual C3Vector GetPosition() const;
|
||||||
|
// TODO
|
||||||
virtual int32_t GetModelFileName(const char*& name) const;
|
virtual int32_t GetModelFileName(const char*& name) const;
|
||||||
// TODO
|
// TODO
|
||||||
virtual int32_t CanHighlight();
|
virtual int32_t CanHighlight();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user