MCPcopy
hub / github.com/g3n/engine / Lines

Struct Lines

graphic/lines.go:15–18  ·  view source on GitHub ↗

Lines is a Graphic which is rendered as a collection of independent lines.

Source from the content-addressed store, hash-verified

13
14// Lines is a Graphic which is rendered as a collection of independent lines.
15type Lines struct {
16 Graphic // Embedded graphic object
17 uniMVPm gls.Uniform // Model view projection matrix uniform location cache
18}
19
20// NewLines returns a pointer to a new Lines object.
21func NewLines(igeom geometry.IGeometry, imat material.IMaterial) *Lines {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected