struct Graphene::Frustum

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.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

[View source]
def self.new(data : LibGraphene::Frustum, _transfer : GICrystal::Transfer) #

[View source]
def self.new(planes : Enumerable(Graphene::Plane) | Nil = nil) #

[View source]

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def ==(other : self) : Bool #

[View source]
def contains_point(point : Graphene::Point3D) : Bool #

[View source]
def equal(b : Graphene::Frustum) : Bool #

[View source]
def free : Nil #

[View source]

[View source]
def init_from_frustum(src : Graphene::Frustum) : Graphene::Frustum #

[View source]
def init_from_matrix(matrix : Graphene::Matrix) : Graphene::Frustum #

[View source]
def intersects_box(box : Graphene::Box) : Bool #

[View source]
def intersects_sphere(sphere : Graphene::Sphere) : Bool #

[View source]
def planes(planes : Enumerable(Graphene::Plane)) : Nil #

[View source]
def planes(*planes : Graphene::Plane) #

[View source]
def planes(*args, **options) #

[View source]
def planes(*args, **options, &) #

[View source]
def planes=(arg) #

[View source]