earcut

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Point
	Prev, Next   *Node
	PrevZ, NextZ *Node

	Z       uint64
	Index   uint32
	Steiner bool
}

func (*Node) EqualTo

func (n *Node) EqualTo(other *Node) bool

func (*Node) String

func (n *Node) String() string

type Point

type Point = gm.Vec

func Triangulate

func Triangulate(polygon []Point, holes [][]Point) ([]Point, []uint32)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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