graphene.frustum
Module for [Frustum] class
class Frustum
Types 1
classFrustum : gobject.boxed.Boxed
A 3D volume delimited by 2D clip planes.
The contents of the [graphene.frustum.Frustum] are private, and should not be modified directly.
Methods
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.