Browse Source

document rayIntersection "bestMatch"

ncannasse 6 years ago
parent
commit
94a053de79
1 changed files with 1 additions and 0 deletions
  1. 1 0
      h3d/col/Collider.hx

+ 1 - 0
h3d/col/Collider.hx

@@ -4,6 +4,7 @@ interface Collider extends hxd.impl.Serializable.StructSerializable {
 
 
 	/**
 	/**
 		Returns the distance of intersection between the ray and the collider, or negative if no collision.
 		Returns the distance of intersection between the ray and the collider, or negative if no collision.
+		If bestMatch is false, only negative/positive value needs to be returned, with no additional precision.
 	**/
 	**/
 	public function rayIntersection( r : Ray, bestMatch : Bool ) : Float;
 	public function rayIntersection( r : Ray, bestMatch : Bool ) : Float;
 	public function contains( p : Point ) : Bool;
 	public function contains( p : Point ) : Bool;