mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-01 00:09:58 -05:00
Remove caching of inverse model transform for every scene graph node
This commit is contained in:
@@ -36,7 +36,7 @@ namespace ghoul { class Dictionary; }
|
||||
namespace ghoul::opengl {
|
||||
class ProgramObject;
|
||||
class Texture;
|
||||
}
|
||||
} // namespace ghoul::opengl
|
||||
|
||||
namespace openspace {
|
||||
|
||||
|
||||
@@ -120,7 +120,6 @@ public:
|
||||
glm::dvec3 worldPosition() const;
|
||||
const glm::dmat3& worldRotationMatrix() const;
|
||||
glm::dmat4 modelTransform() const;
|
||||
glm::dmat4 inverseModelTransform() const;
|
||||
glm::dvec3 worldScale() const;
|
||||
bool isTimeFrameActive(const Time& time) const;
|
||||
|
||||
@@ -176,7 +175,6 @@ private:
|
||||
glm::dvec3 _worldScaleCached = glm::dvec3(1.0);
|
||||
|
||||
glm::dmat4 _modelTransformCached = glm::dmat4(1.0);
|
||||
glm::dmat4 _inverseModelTransformCached = glm::dmat4(1.0);
|
||||
|
||||
properties::FloatProperty _boundingSphere;
|
||||
properties::BoolProperty _computeScreenSpaceValues;
|
||||
|
||||
Reference in New Issue
Block a user