mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 04:43:26 +00:00
GRIM: Rename Model's getters.
This commit is contained in:
parent
bf99df1bd7
commit
e80a4234fc
@ -141,7 +141,7 @@ public:
|
||||
~ModelComponent();
|
||||
|
||||
Model::HierNode *getHierarchy() { return _hier; }
|
||||
int getNumNodes() { return _obj->numNodes(); }
|
||||
int getNumNodes() { return _obj->getNumNodes(); }
|
||||
void draw();
|
||||
|
||||
protected:
|
||||
@ -337,7 +337,7 @@ void ModelComponent::reset() {
|
||||
// Reset the hierarchy nodes for any keyframe animations (which
|
||||
// are children of this component and therefore get updated later).
|
||||
void ModelComponent::update() {
|
||||
for (int i = 0; i < _obj->numNodes(); i++) {
|
||||
for (int i = 0; i < _obj->getNumNodes(); i++) {
|
||||
_hier[i]._priority = -1;
|
||||
_hier[i]._animPos.set(0,0,0);
|
||||
_hier[i]._animPitch = 0;
|
||||
|
@ -79,7 +79,7 @@ public:
|
||||
};
|
||||
|
||||
HierNode *copyHierarchy();
|
||||
int numNodes() const { return _numHierNodes; }
|
||||
int getNumNodes() const { return _numHierNodes; }
|
||||
|
||||
//private:
|
||||
struct Face {
|
||||
|
Loading…
x
Reference in New Issue
Block a user