Browse Source

Matrix: alloc inline constructor

trethaller 2 năm trước cách đây
mục cha
commit
bce79ae552
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;