Explorar el Código

Added initializer types.

Бранимир Караџић hace 4 años
padre
commit
6693de0e50
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/image_cubemap_filter.cpp

+ 2 - 2
src/image_cubemap_filter.cpp

@@ -849,8 +849,8 @@ namespace bimg
 		const float kGoldenSection = 0.61803398875f;
 		float offset = kGoldenSection;
 
-		bx::Vec3 tangentX;
-		bx::Vec3 tangentY;
+		bx::Vec3 tangentX(bx::init::None);
+		bx::Vec3 tangentY(bx::init::None);
 		bx::calcTangentFrame(tangentX, tangentY, _dir);
 
 		for (uint32_t ii = 0; ii < kNumSamples; ++ii)