示例#1
0
 public override bool Raycast(Ray ray, out float t)
 {
     return(PyramidMath.Raycast(ray, out t, _baseCenter, _baseWidth, _baseDepth, _height, _rotation));
 }
示例#2
0
 public bool ContainsPoint(Vector3 point)
 {
     return(PyramidMath.ContainsPoint(point, _baseCenter, _baseWidth, _baseDepth, _height, _rotation, _epsilon));
 }
示例#3
0
 public List <Vector3> GetBaseCornerPoints()
 {
     return(PyramidMath.CalcBaseCornerPoints(_baseCenter, _baseWidth, _baseDepth, _rotation));
 }