Class Frustrum

java.lang.Object
net.minecraft.src.Frustrum
All Implemented Interfaces:
ICamera

@Environment(CLIENT) public class Frustrum extends Object implements ICamera
  • Constructor Details

    • Frustrum

      public Frustrum()
  • Method Details

    • setPosition

      public void setPosition(double par1, double par3, double par5)
      Specified by:
      setPosition in interface ICamera
    • isBoxInFrustum

      public boolean isBoxInFrustum(double par1, double par3, double par5, double par7, double par9, double par11)
      Calls the clipping helper. Returns true if the box is inside all 6 clipping planes, otherwise returns false.
    • isBoundingBoxInFrustum

      public boolean isBoundingBoxInFrustum(AxisAlignedBB par1AxisAlignedBB)
      Returns true if the bounding box is inside all 6 clipping planes, otherwise returns false.
      Specified by:
      isBoundingBoxInFrustum in interface ICamera