MCPcopy
hub / github.com/EngoEngine/engo / testContainer

Struct testContainer

math_test.go:274–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274type testContainer struct {
275 bounds AABB
276}
277
278func (c testContainer) Contains(p Point) bool {
279 if p.X <= c.bounds.Max.X && p.X >= c.bounds.Min.X && p.Y <= c.bounds.Max.Y && p.Y >= c.bounds.Min.Y {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected