graphene.frustum

Module for [Frustum] class

class Frustum

Types 1

A 3D volume delimited by 2D clip planes.

The contents of the [graphene.frustum.Frustum] are private, and should not be modified directly.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
Frustum self()Returns `this`, for use in `with` statements.
graphene.frustum.Frustum alloc()Allocates a new #graphenefrustumt structure.
bool containsPoint(graphene.point3_d.Point3D point)Checks whether a point is inside the volume defined by the given #graphenefrustumt.
bool equal(graphene.frustum.Frustum b)Checks whether the two given #graphenefrustumt are equal.
void getPlanes(ref graphene.plane.Plane[] planes)Retrieves the planes that define the given #graphenefrustumt.
graphene.frustum.Frustum init_(graphene.plane.Plane p0, graphene.plane.Plane p1, graphene.plane.Plane p2, graphene.plane.Plane p3, graphene.plane.Plane p4, graphene.plane.Plane p5)Initializes the given #graphenefrustumt using the provided clipping planes.
graphene.frustum.Frustum initFromFrustum(graphene.frustum.Frustum src)Initializes the given #graphenefrustumt using the clipping planes of another #graphenefrustumt.
graphene.frustum.Frustum initFromMatrix(graphene.matrix.Matrix matrix)Initializes a #graphenefrustumt using the given matrix.
bool intersectsBox(graphene.box.Box box)Checks whether the given box intersects a plane of a #graphenefrustumt.
bool intersectsSphere(graphene.sphere.Sphere sphere)Checks whether the given sphere intersects a plane of a #graphenefrustumt.
Constructors
this()Create a `frustum.Frustum` boxed type.
this(void * ptr, Flag!"Take" take)