VOXELFORMAT: removed unused code

master
Martin Gerhardy 2022-04-23 22:33:26 +02:00
parent 6b3d67fc81
commit 5c1d96e985
1 changed files with 0 additions and 5 deletions

View File

@ -169,7 +169,6 @@ public:
bool addChild(int id);
bool removeChild(int id);
const glm::mat4 &matrix(uint32_t frameIdx = 0) const;
void setTransform(uint32_t frameIdx, const SceneGraphTransform &transform, bool updateMatrix);
SceneGraphTransform &transform(uint32_t frameIdx = 0);
const SceneGraphTransform &transform(uint32_t frameIdx = 0) const;
@ -316,8 +315,4 @@ inline void SceneGraphNode::setLocked(bool locked) {
_locked = locked;
}
inline const glm::mat4 &SceneGraphNode::matrix(uint32_t frameIdx) const {
return _keyFrames[frameIdx].transform.matrix();
}
} // namespace voxel