ncannasse 9 년 전
부모
커밋
98c6ea61b0
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      h3d/mat/DefaultMaterialProps.hx

+ 8 - 0
h3d/mat/DefaultMaterialProps.hx

@@ -87,7 +87,15 @@ class DefaultMaterialProps {
 	}
 
 	public static function particlesDefault() : MaterialProps {
+	#if (haxe_ver < 3.3)
+		var m = new DefaultMaterialProps();
+		m.kind = Alpha;
+		m.shadows = None;
+		m.cull = false;
+		return m;
+	#else
 		return { kind : Alpha, shadows : None, cull : false }
+	#end
 	}
 
 }