helper

package
v0.0.0-...-6765b72 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpGraph

func DumpGraph(g *mat.Group)

func RenderLine

func RenderLine(canvas *mat.Canvas, camera mat.Camera, from, to mat.Tuple4)

func RenderLineBetweenShapes

func RenderLineBetweenShapes(canvas *mat.Canvas, s1, s2 mat.Shape, camera mat.Camera)

func RenderPointAt

func RenderPointAt(canvas *mat.Canvas, camera mat.Camera, worldPoint mat.Tuple4, color mat.Tuple4)

RenderPointAt transforms the passed world coordinate point into view coords and projects it onto the 2D canvas.

func RenderReferenceAxises

func RenderReferenceAxises(canvas *mat.Canvas, camera mat.Camera)

func RenderWireframeBox

func RenderWireframeBox(canvas *mat.Canvas, camera mat.Camera, o *mat.Group)

Types

This section is empty.

Jump to

Keyboard shortcuts

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