Documentation ¶
Index ¶
- func CalculateNormals(indices math32.ArrayU32, positions, normals math32.ArrayF32) math32.ArrayF32
- func NewRibbon(paths [][]math32.Vector3, close bool) *geometry.Geometry
- func NewTube(path []math32.Vector3, radius float32, radialSegments int, close bool) *geometry.Geometry
- type Box
- type ConeCylinder
- type Disk
- type LineStrip
- type Lines
- type Plane
- type Points
- type Sphere
- type Sprite
- type Torus
- type Tube
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateNormals ¶
Types ¶
type Box ¶
type Box struct {
// contains filtered or unexported fields
}
type ConeCylinder ¶
type ConeCylinder struct {
// contains filtered or unexported fields
}
func (*ConeCylinder) Cleanup ¶
func (t *ConeCylinder) Cleanup(a *app.App)
Cleanup is called once at the end of the demo.
func (*ConeCylinder) Start ¶
func (t *ConeCylinder) Start(a *app.App)
Start is called once at the start of the demo.
type Disk ¶
type Disk struct {
// contains filtered or unexported fields
}
type LineStrip ¶
type LineStrip struct{}
type Lines ¶
type Lines struct{}
type Plane ¶
type Plane struct {
// contains filtered or unexported fields
}
type Points ¶
type Points struct{}
type Sphere ¶
type Sphere struct {
// contains filtered or unexported fields
}
type Sprite ¶
type Sprite struct {
// contains filtered or unexported fields
}
type Torus ¶
type Torus struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.