class Boleite::Camera3D

Defined in:

boleite/graphics/camera_3d.cr

Constructors

Instance Method Summary

Instance methods inherited from class Boleite::Camera

inverse_projection inverse_projection, inverse_transformation inverse_transformation, projection : Boleite::MatrixImp(Float32, 4, 16) projection, transformation transformation, update_transformation update_transformation

Constructor methods inherited from class Boleite::Camera

new(projection : Matrix44f32) new

Constructor Detail

def self.new(fov : Float32, width : Float32, height : Float32, near : Float32, far : Float32) #

[View source]

Instance Method Detail

def far : Float32 #

[View source]
def height : Float32 #

[View source]
def move(x, y, z) #

[View source]
def move(offset) #

[View source]
def near : Float32 #

[View source]

[View source]
def position=(pos : Boleite::VectorImp(Float64, 3)) #

[View source]
def rotate(x, y, z) #

[View source]
def rotate(vec) #

[View source]

[View source]
def rotation=(rot : Boleite::VectorImp(Float64, 3)) #

[View source]
def update_transformation #

[View source]
def width : Float32 #

[View source]