2
0
Эх сурвалжийг харах

Implement closestPoint in hrt/prefab/l3d/Polygon.hx

clementlandrin 8 сар өмнө
parent
commit
1dabf2751f

+ 5 - 0
hrt/prefab/l3d/Polygon.hx

@@ -576,6 +576,11 @@ class WorldProjectedCollider extends h3d.col.Collider {
 		return Std.downcast(polygon.local3d, ProjectedDisplay).decal.scaleX;
 	}
 
+	public function closestPoint(p : h3d.col.Point) {
+		throw "implement";
+		return new h3d.col.Point();
+	}
+
 	#if !macro
 	function makeDebugObj() {
 		return null;