Browse Source

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

clementlandrin 8 tháng trước cách đây
mục cha
commit
1dabf2751f
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      hrt/prefab/l3d/Polygon.hx

+ 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;
 		return Std.downcast(polygon.local3d, ProjectedDisplay).decal.scaleX;
 	}
 	}
 
 
+	public function closestPoint(p : h3d.col.Point) {
+		throw "implement";
+		return new h3d.col.Point();
+	}
+
 	#if !macro
 	#if !macro
 	function makeDebugObj() {
 	function makeDebugObj() {
 		return null;
 		return null;