class Boleite::Camera2D

Defined in:

boleite/graphics/camera_2d.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(width : Float32, height : Float32, near : Float32, far : Float32) #

[View source]

Instance Method Detail

def far : Float32 #

[View source]
def far=(far : Float32) #

[View source]
def height : Float32 #

[View source]
def height=(height : Float32) #

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

[View source]
def move(offset) #

[View source]
def near : Float32 #

[View source]
def near=(near : Float32) #

[View source]

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

[View source]
def scale : Float64 #

[View source]
def scale=(scale : Float64) #

[View source]
def update_transformation #

[View source]
def width : Float32 #

[View source]
def width=(width : Float32) #

[View source]