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

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