struct Graphene::Frustum
- Graphene::Frustum
- Struct
- Value
- Object
Overview
A 3D volume delimited by 2D clip planes.
The contents of the graphene_::frustum_t
are private, and should not be
modified directly.
Defined in:
lib/gi-crystal/src/auto/graphene-1.0/frustum.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibGraphene::Frustum, _transfer : GICrystal::Transfer)
- .new(planes : Enumerable(Graphene::Plane) | Nil = nil)
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
- #==(other : self) : Bool
- #contains_point(point : Graphene::Point3D) : Bool
- #equal(b : Graphene::Frustum) : Bool
- #free : Nil
- #init(p0 : Graphene::Plane, p1 : Graphene::Plane, p2 : Graphene::Plane, p3 : Graphene::Plane, p4 : Graphene::Plane, p5 : Graphene::Plane) : Graphene::Frustum
- #init_from_frustum(src : Graphene::Frustum) : Graphene::Frustum
- #init_from_matrix(matrix : Graphene::Matrix) : Graphene::Frustum
- #intersects_box(box : Graphene::Box) : Bool
- #intersects_sphere(sphere : Graphene::Sphere) : Bool
- #planes(planes : Enumerable(Graphene::Plane)) : Nil
- #planes(*planes : Graphene::Plane)
- #planes(*args, **options)
- #planes(*args, **options, &)
- #planes=(arg)
Constructor Detail
Class Method Detail
Returns the type id (GType) registered in GLib type system.
Instance Method Detail
def init(p0 : Graphene::Plane, p1 : Graphene::Plane, p2 : Graphene::Plane, p3 : Graphene::Plane, p4 : Graphene::Plane, p5 : Graphene::Plane) : Graphene::Frustum
#