Example #1
0
 public bool ContainsPoint(Vector3 point)
 {
     return(ConeMath.ContainsPoint(point, _baseCenter, _baseRadius, _height, _rotation));
 }
Example #2
0
 public List <Vector3> GetBaseExtents()
 {
     return(ConeMath.CalcConeBaseExtentPoints(_baseCenter, _baseRadius, _rotation));
 }
Example #3
0
 public override bool Raycast(Ray ray, out float t)
 {
     return(ConeMath.Raycast(ray, out t, _baseCenter, _baseRadius, _height, _rotation));
 }