Move math namespace to fix #746.

This commit is contained in:
prideout
2019-02-07 09:23:07 -08:00
committed by Philip Rideout
parent 6089be6de6
commit 5ee359cf40
155 changed files with 746 additions and 717 deletions
+2 -2
View File
@@ -218,9 +218,9 @@ void normalize(LinearImage& image) {
ASSERT_PRECONDITION(image.getChannels() == 3 || image.getChannels() == 4,
"Must be a 3 or 4 channel image");
if (image.getChannels() == 3) {
normalizeImpl<math::float3>(image);
normalizeImpl< filament::math::float3>(image);
} else {
normalizeImpl<math::float4>(image);
normalizeImpl< filament::math::float4>(image);
}
}