mesh

package
v0.0.0-...-208d128 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const MAX_CONVEXVOL_PTS = 12
View Source
const MAX_OFFMESH_CONNECTIONS = 256
View Source
const MAX_VOLUMES = 256
View Source
const NAVMESHSET_MAGIC = 'M'<<24 | 'S'<<16 | 'E'<<8 | 'T' //'MSET';
View Source
const NAVMESHSET_VERSION = 1

Variables

This section is empty.

Functions

func NewDebugDrawGL

func NewDebugDrawGL(ctx context.Context) debug_utils.DuDebugDraw

Types

type BoundsItem

type BoundsItem struct {
	// contains filtered or unexported fields
}

type BuildSettings

type BuildSettings struct {
	// contains filtered or unexported fields
}

type Content

type Content struct {
	widget.BaseWidget
	// contains filtered or unexported fields
}

func NewContent

func NewContent(w fyne.Window) *Content

func (*Content) CreateRenderer

func (c *Content) CreateRenderer() fyne.WidgetRenderer

func (*Content) GetConfig

func (c *Content) GetConfig() *config.Config

func (*Content) Hide

func (c *Content) Hide()

func (*Content) InputMeshChange

func (c *Content) InputMeshChange()

func (*Content) MinSize

func (c *Content) MinSize() fyne.Size

func (*Content) Move

func (c *Content) Move(position fyne.Position)

func (*Content) Position

func (c *Content) Position() fyne.Position

func (*Content) Refresh

func (c *Content) Refresh()

func (*Content) Resize

func (c *Content) Resize(size fyne.Size)

func (*Content) SampleChange

func (c *Content) SampleChange(sample string)

func (*Content) SetLabel1

func (c *Content) SetLabel1(s string)

func (*Content) SetLabel2

func (c *Content) SetLabel2(s string)

func (*Content) Show

func (c *Content) Show()

func (*Content) Size

func (c *Content) Size() fyne.Size

func (*Content) ToolChange

func (c *Content) ToolChange()

func (*Content) Visible

func (c *Content) Visible() bool

type ContentRender

type ContentRender struct {
	// contains filtered or unexported fields
}

func (*ContentRender) Destroy

func (c *ContentRender) Destroy()

func (*ContentRender) Layout

func (c *ContentRender) Layout(size fyne.Size)

func (*ContentRender) MinSize

func (c *ContentRender) MinSize() fyne.Size

func (*ContentRender) Objects

func (c *ContentRender) Objects() []fyne.CanvasObject

func (*ContentRender) Refresh

func (c *ContentRender) Refresh()

type ContentState

type ContentState struct {
	// contains filtered or unexported fields
}

func NewContentState

func NewContentState() *ContentState

func (*ContentState) GetSize

func (s *ContentState) GetSize() fyne.Size

func (*ContentState) OnKeyDown

func (s *ContentState) OnKeyDown(ev *fyne.KeyEvent)

func (*ContentState) OnKeyUp

func (s *ContentState) OnKeyUp(ev *fyne.KeyEvent)

type ConvexVolume

type ConvexVolume struct {
	// contains filtered or unexported fields
}

type DebugDrawGL

type DebugDrawGL struct {
	// contains filtered or unexported fields
}

func (*DebugDrawGL) AreaToCol

func (g *DebugDrawGL) AreaToCol(area int) debug_utils.Colorb

func (*DebugDrawGL) Begin

func (g *DebugDrawGL) Begin(prim debug_utils.DuDebugDrawPrimitives, sizes ...float32)

func (*DebugDrawGL) DepthMask

func (g *DebugDrawGL) DepthMask(state bool)

func (*DebugDrawGL) End

func (g *DebugDrawGL) End()

func (*DebugDrawGL) Texture

func (g *DebugDrawGL) Texture(state bool)

func (*DebugDrawGL) Vertex

func (g *DebugDrawGL) Vertex(pos []float32, color debug_utils.Colorb)

func (*DebugDrawGL) Vertex1

func (g *DebugDrawGL) Vertex1(x, y, z float32, color debug_utils.Colorb)

func (*DebugDrawGL) Vertex2

func (g *DebugDrawGL) Vertex2(pos []float32, color debug_utils.Colorb, uv []float32)

func (*DebugDrawGL) Vertex3

func (g *DebugDrawGL) Vertex3(x, y, z float32, color debug_utils.Colorb, u, v float32)

type GLCheckerTexture

type GLCheckerTexture struct {
	// contains filtered or unexported fields
}

func (*GLCheckerTexture) Bind

func (c *GLCheckerTexture) Bind(ctx context.Context)

type ISample

type ISample interface {
	HandleRender()
	// contains filtered or unexported methods
}

type InputGeom

type InputGeom struct {
	// contains filtered or unexported fields
}
type NavMeshSetHeader struct {
	Magic    int
	Version  int
	NumTiles int
	Params   *detour.NavMeshParams
}

func NewNavMeshSetHeader

func NewNavMeshSetHeader() *NavMeshSetHeader
func (n *NavMeshSetHeader) Decode(r *rw.ReaderWriter)
func (n *NavMeshSetHeader) Encode(w *rw.ReaderWriter)
type NavMeshTileHeader struct {
	TileRef  detour.DtTileRef
	DataSize int
}
func (n *NavMeshTileHeader) Decode(r *rw.ReaderWriter)
func (n *NavMeshTileHeader) Encode(w *rw.ReaderWriter)

type Sample

type Sample struct {
	// contains filtered or unexported fields
}

func NewSample

func NewSample(ctx *Content) *Sample

func (*Sample) HandleRender

func (s *Sample) HandleRender()

type SampleSoloMesh

type SampleSoloMesh struct {
	*Sample
	// contains filtered or unexported fields
}

func (*SampleSoloMesh) HandleRender

func (s *SampleSoloMesh) HandleRender()

type SampleTool

type SampleTool interface {
	Type() int
	// contains filtered or unexported methods
}

type SampleToolState

type SampleToolState interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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