浏览代码

Adding closestPoint to h3d/col/HeightMap.hx

clementlandrin 8 月之前
父节点
当前提交
d416ca47d3
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      h3d/col/HeightMap.hx

+ 4 - 0
h3d/col/HeightMap.hx

@@ -38,6 +38,10 @@ abstract class HeightMap extends Collider {
 		throw "Not implemented : is infinite";
 	}
 
+	public function closestPoint( sp : Point ) : Point {
+		throw "Not implemented";
+	}
+
 	public function rayIntersection( r : Ray, bestMatch : Bool ) : Float {
 		var px = r.px, py = r.py, pz = r.pz;
 		var lx = r.lx, ly = r.ly, lz = r.lz;