struct Engine::MaterialData

Defined in:

engine/physics.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(density : Float64, friction : Float64, elasticity : Float64, def_radius : Float64) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(density _density = @density, friction _friction = @friction, elasticity _elasticity = @elasticity, def_radius _def_radius = @def_radius) #

[View source]
def def_radius : Float64 #

def density : Float64 #

def elasticity : Float64 #

def friction : Float64 #