MCPcopy Index your code
hub / github.com/EngoEngine/engo / aabbRect

Function aabbRect

quadtree.go:60–71  ·  view source on GitHub ↗
(x, y, width, height float32)

Source from the content-addressed store, hash-verified

58}
59
60func aabbRect(x, y, width, height float32) AABB {
61 return AABB{
62 Min: Point{
63 X: x,
64 Y: y,
65 },
66 Max: Point{
67 X: x + width,
68 Y: y + height,
69 },
70 }
71}
72
73type quadtreeNodeData struct {
74 Value AABBer

Callers 1

splitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected