glClear is causing stack corrpution
This commit is contained in:
@@ -123,6 +123,12 @@ glm::quat SceneItemTransform::getLocalRotation() {
|
||||
return this->localRotation;
|
||||
}
|
||||
|
||||
void SceneItemTransform::setLocalTransform(const glm::mat4 transform) {
|
||||
this->transformLocal = transform;
|
||||
this->updateLocalValuesFromLocalTransform();
|
||||
this->updateWorldTransformFromLocalTransform();
|
||||
}
|
||||
|
||||
void SceneItemTransform::setWorldTransform(const glm::mat4 transform) {
|
||||
this->transformWorld = transform;
|
||||
this->updateLocalTransformFromWorldTransform();
|
||||
|
@@ -106,6 +106,13 @@ namespace Dawn {
|
||||
* @return Local rotation of this item.
|
||||
*/
|
||||
glm::quat getLocalRotation();
|
||||
|
||||
/**
|
||||
* Sets the transform of this item within local space (relative to parent)
|
||||
*
|
||||
* @param transform Transform of this item in local space.
|
||||
*/
|
||||
void setLocalTransform(const glm::mat4 transform);
|
||||
|
||||
/**
|
||||
* Sets the transform of this item within world space (relative to scene
|
||||
|
Reference in New Issue
Block a user