Frustum

class Frustum(pointer: <Error class: unknown class><<Error class: unknown class>>)

A 3D volume delimited by 2D clip planes.

The contents of the graphene_frustum_t are private, and should not be modified directly.

Skipped during bindings generation

  • parameter planes: planes: Out parameter is not supported

  • field planes: Record field planes is private

Since

1.2

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val grapheneFrustumPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard

Checks whether a point is inside the volume defined by the given #graphene_frustum_t.

Link copied to clipboard

Checks whether the two given #graphene_frustum_t are equal.

Link copied to clipboard
fun free()

Frees the resources allocated by graphene_frustum_alloc().

Link copied to clipboard
fun init(p0: Plane, p1: Plane, p2: Plane, p3: Plane, p4: Plane, p5: Plane): Frustum

Initializes the given #graphene_frustum_t using the provided clipping planes.

Link copied to clipboard

Initializes the given #graphene_frustum_t using the clipping planes of another #graphene_frustum_t.

Link copied to clipboard

Initializes a #graphene_frustum_t using the given @matrix.

Link copied to clipboard

Checks whether the given @box intersects a plane of a #graphene_frustum_t.

Link copied to clipboard

Checks whether the given @sphere intersects a plane of a #graphene_frustum_t.