Branimir Karadžić vor 7 Jahren
Ursprung
Commit
2dc2137905
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      include/bx/math.h

+ 2 - 2
include/bx/math.h

@@ -568,10 +568,10 @@ namespace bx
 	void hsvToRgb(float _rgb[3], const float _hsv[3]);
 	void hsvToRgb(float _rgb[3], const float _hsv[3]);
 
 
 	///
 	///
-	float toLinear(float _a);
+	BX_CONST_FUNC float toLinear(float _a);
 
 
 	///
 	///
-	float toGamma(float _a);
+	BX_CONST_FUNC float toGamma(float _a);
 
 
 } // namespace bx
 } // namespace bx