Documentation ¶
Overview ¶
Package shape models various shapes for testing the rendering abilities of Mechane.
Index ¶
- type BezCircTanLocModel
- type BullseyeModel
- type CatenaryModel
- type CircleModel
- type ConeModel
- type CosModel
- type CubeModel
- type CycloidModel
- type Disk
- type GridsModel
- type HelixModel
- type LineModel
- type ProjectileModel
- type Rect
- type SinModel
- type SinPlotModel
- type SinusoidModel
- type SphereModel
- type SpiralModel
- type StandingWaveModel
- type TimeDecaying
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BezCircTanLocModel ¶
type BezCircTanLocModel struct { Depictioner *wire.BezCircTangency TangencyPortion wire.BezCircTangencyPortion }
BezCircTanLocModel is in essence the tangency locus of the middle control point of a quadratic Bezier curve which is a tangent to a circle.
func NewBezCircTanLoc ¶
func NewBezCircTanLoc() BezCircTanLocModel
type BullseyeModel ¶
func NewBullseyeModel ¶
func NewBullseyeModel() BullseyeModel
type CatenaryModel ¶
type CatenaryModel struct {
Depictioner mech.Depictioner
}
func NewCatenaryModel ¶
func NewCatenaryModel() CatenaryModel
type CircleModel ¶
type CircleModel struct {
Depictioner mech.Depictioner
}
func NewCircleModel ¶
func NewCircleModel() CircleModel
type ConeModel ¶
type ConeModel struct {
Depictioner mech.Depictioner
}
func NewConeModel ¶
func NewConeModel() ConeModel
type CosModel ¶
type CosModel struct { Button world.ToggleButton ButtonNode *mechtree.Node Depictioner mech.Depictioner Node *mechtree.Node }
func NewCosModel ¶
type CubeModel ¶
type CubeModel struct {
Depictioner mech.Depictioner
}
func NewCubeModel ¶
func NewCubeModel() CubeModel
type CycloidModel ¶
type CycloidModel struct { Circle *wire.Circle CirclePortion func(float64) mech.Portion Node *mechtree.Node Parametric kirv.Parametric }
func NewCycloidModel ¶
func NewCycloidModel() CycloidModel
type Disk ¶
type Disk struct { ButtonName string ButtonNode *mechtree.Node Depictioner mech.Depictioner }
type GridsModel ¶
type GridsModel struct { Disk Disk Rect Rect Node *mechtree.Node RadioButtonGroup world.RadioButtonGroup }
func NewGridsModel ¶
func NewGridsModel() GridsModel
type HelixModel ¶
type HelixModel struct {
Depictioner mech.Depictioner
}
func NewHelixModel ¶
func NewHelixModel() HelixModel
type LineModel ¶
type LineModel struct {
Depictioner mech.Depictioner
}
func NewLineModel ¶
func NewLineModel() LineModel
type ProjectileModel ¶
type ProjectileModel struct {
Depictioner mech.Depictioner
}
func NewProjectileModel ¶
func NewProjectileModel() ProjectileModel
type Rect ¶
type Rect struct { ButtonName string ButtonNode *mechtree.Node Depictioner mech.Depictioner }
type SinModel ¶
type SinModel struct {
Depictioner mech.Depictioner
}
func NewSinModel ¶
func NewSinModel() SinModel
type SinPlotModel ¶
type SinPlotModel struct {
Depictioner mech.Depictioner
}
func NewSinPlotModel ¶
func NewSinPlotModel() SinPlotModel
type SinusoidModel ¶
type SinusoidModel struct { Node *mechtree.Node TimeDecaying TimeDecaying }
func NewSinusoidModel ¶
func NewSinusoidModel() SinusoidModel
type SphereModel ¶
type SphereModel struct {
Depictioner mech.Depictioner
}
func NewSphereModel ¶
func NewSphereModel() SphereModel
type SpiralModel ¶
type SpiralModel struct { Button world.Button ButtonNode *mechtree.Node Depictioner mech.Depictioner Node *mechtree.Node }
func NewSpiralModel ¶
func NewSpiralModel() SpiralModel
type StandingWaveModel ¶
type StandingWaveModel struct { Depictioner *wire.StandingWave Node *mechtree.Node Portion wire.StandingWavePortion }
func NewStandingWaveModel ¶
func NewStandingWaveModel(orient ...maf.Vec) StandingWaveModel
Click to show internal directories.
Click to hide internal directories.