dynamics

package
v0.0.0-...-344f55e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2014 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BodyFixture

type BodyFixture struct {
	collision.Fixture
	// contains filtered or unexported fields
}

func NewBodyFixture

func NewBodyFixture(shape geometry.Convexer) *BodyFixture

func (*BodyFixture) CreateMass

func (b *BodyFixture) CreateMass() *geometry.Mass

func (*BodyFixture) GetDensity

func (b *BodyFixture) GetDensity() float64

func (*BodyFixture) GetFriction

func (b *BodyFixture) GetFriction() float64

func (*BodyFixture) GetRestitution

func (b *BodyFixture) GetRestitution() float64

func (*BodyFixture) SetDensity

func (b *BodyFixture) SetDensity(density float64)

func (*BodyFixture) SetFriction

func (b *BodyFixture) SetFriction(friction float64)

func (*BodyFixture) SetRestitution

func (b *BodyFixture) SetRestitution(restitution float64)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL