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