Przeglądaj źródła

Matrix: alloc inline constructor

trethaller 2 lat temu
rodzic
commit
bce79ae552
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      h3d/Matrix.hx

+ 1 - 1
h3d/Matrix.hx

@@ -35,7 +35,7 @@ class Matrix {
 	public var ty(get, set) : Float;
 	public var tz(get, set) : Float;
 
-	public function new() {
+	inline public function new() {
 	}
 
 	inline function get_tx() return _41;