Move math namespace to fix #746.

This commit is contained in:
prideout
2019-02-06 10:52:16 -08:00
committed by Philip Rideout
parent 6089be6de6
commit 5ee359cf40
155 changed files with 746 additions and 717 deletions

View File

@@ -44,7 +44,7 @@ struct App {
};
struct Vertex {
math::float2 position;
filament::math::float2 position;
uint32_t color;
};
@@ -118,7 +118,7 @@ int main(int argc, char** argv) {
-ZOOM, ZOOM, 0, 1);
auto& tcm = engine->getTransformManager();
tcm.setTransform(tcm.getInstance(app.renderable),
math::mat4f::rotate(now, math::float3{0, 0, 1}));
filament::math::mat4f::rotate(now, filament::math::float3{0, 0, 1}));
});
FilamentApp::get().run(config, setup, cleanup);