class Game::Camera

Defined in:

game/camera.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(position = Vector3.new, target = Vector3.new, up = Vector3.new, fov : Int32 | Float32 = 45, type = Type::Perspective) #

[View source]

Instance Method Detail

def mode=(mode : Mode) #

[View source]
def to_struct : LibRay::Camera3D #

[View source]
def update #

[View source]