use decompose/composeMatrix for transforms and add mouse controls for rotation
This commit is contained in:
@@ -86,14 +86,6 @@ namespace polyvox {
|
||||
// a slot to preload textures
|
||||
filament::Texture* texture = nullptr;
|
||||
|
||||
// initialized to identity
|
||||
math::mat4f position;
|
||||
|
||||
// initialized to identity
|
||||
math::mat4f rotation;
|
||||
|
||||
float mScale = 1;
|
||||
|
||||
SceneAsset(
|
||||
FilamentAsset* asset
|
||||
) : asset(asset) {}
|
||||
|
||||
Reference in New Issue
Block a user