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

@@ -57,7 +57,7 @@ void updateOrCompare(LinearImage limgResult, const utils::Path& fnameGolden,
// Convert 4-channel RGBM into proper RGB.
if (fnameGolden.getExtension() == "rgbm" && limgGolden.getChannels() == 4) {
limgGolden = toLinearFromRGBM(
reinterpret_cast<math::float4 const*>(limgGolden.getPixelRef()),
reinterpret_cast< filament::math::float4 const*>(limgGolden.getPixelRef()),
limgGolden.getWidth(), limgGolden.getHeight());
}