class Shale::Stars3D

Defined in:

shale/stars3d.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(num_of_stars : Int32, spread : Float32, speed : Float32) #

[View source]

Instance Method Detail

def dist_pos : Float32 #

[View source]
def face_pos : Float32 #

[View source]
def render(target : Shale::Surface, delta : Float64) #

[View source]
def reset_star(i : Int32) #

[View source]