Skip to content

atl/sm/debugdraw/topdown

import "atl/sm/debugdraw/topdown"

The top-down (map) view of sm.debugDraw: drawn for one frame, or flashed for seconds.

func Arrow(from, to sm.Vec3, color *sm.Color)
func Box(min, max, position sm.Vec3, rotation sm.Quat, color *sm.Color)
func Circle(center sm.Vec3, radius float64, color *sm.Color)
func Rect(min, max sm.Vec3, color *sm.Color)
func Sphere(center sm.Vec3, radius float64, color *sm.Color)
func FlashArrow(from, to sm.Vec3, color *sm.Color, seconds float64)
func FlashBox(min, max, position sm.Vec3, rotation sm.Quat, color *sm.Color, seconds float64)
func FlashCircle(center sm.Vec3, radius float64, color *sm.Color, seconds float64)
func FlashRect(min, max sm.Vec3, color *sm.Color, seconds float64)
func FlashSphere(center sm.Vec3, radius float64, color *sm.Color, seconds float64)