Преглед на файлове

VHACD: fix compil Int should be Pointer

Yuxiao Mao преди 8 месеца
родител
ревизия
20835a5ec8
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      hxd/tools/VHACD.hx

+ 3 - 3
hxd/tools/VHACD.hx

@@ -29,9 +29,9 @@ abstract Instance(hl.Abstract<"vhacd">) {
 abstract Pointer(haxe.Int64) from haxe.Int64 to haxe.Int64 {}
 abstract Pointer(haxe.Int64) from haxe.Int64 to haxe.Int64 {}
 
 
 @:struct class Parameters {
 @:struct class Parameters {
-	var _unused0 : Pointer = 0;
-	var _unused1 : Pointer = 0;
-	var _unused2 : Pointer = 0;
+	var _unused0 : Pointer;
+	var _unused1 : Pointer;
+	var _unused2 : Pointer;
 	public var maxConvexHulls : Int = 64;                       // The maximum number of convex hulls to produce
 	public var maxConvexHulls : Int = 64;                       // The maximum number of convex hulls to produce
 	public var maxResolution : Int = 400000;                    // The voxel resolution to use
 	public var maxResolution : Int = 400000;                    // The voxel resolution to use
 	public var minimumVolumePercentErrorAllowed : Float = 1;    // if the voxels are within 1% of the volume of the hull, we consider this a close enough approximation
 	public var minimumVolumePercentErrorAllowed : Float = 1;    // if the voxels are within 1% of the volume of the hull, we consider this a close enough approximation