Package net.minecraft.src
Class Frustrum
java.lang.Object
net.minecraft.src.Frustrum
- All Implemented Interfaces:
ICamera
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisBoundingBoxInFrustum(AxisAlignedBB par1AxisAlignedBB) Returns true if the bounding box is inside all 6 clipping planes, otherwise returns false.booleanisBoxInFrustum(double par1, double par3, double par5, double par7, double par9, double par11) Calls the clipping helper.voidsetPosition(double par1, double par3, double par5)
-
Constructor Details
-
Frustrum
public Frustrum()
-
-
Method Details
-
setPosition
public void setPosition(double par1, double par3, double par5) - Specified by:
setPositionin interfaceICamera
-
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
Returns true if the bounding box is inside all 6 clipping planes, otherwise returns false.- Specified by:
isBoundingBoxInFrustumin interfaceICamera
-