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