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

Interface Container

math.go:43–46  ·  view source on GitHub ↗

A Container is a 2D closed shape which contains a set of points.

Source from the content-addressed store, hash-verified

41
42// A Container is a 2D closed shape which contains a set of points.
43type Container interface {
44 // Contains reports whether the container contains the given point.
45 Contains(p Point) bool
46}
47
48// Point describes a coordinate in a 2 dimensional euclidean space
49// it can also be thought of as a 2 dimensional vector from the origin

Callers 4

IsAndroidChromeFunction · 0.65
WithinMethod · 0.65
UpdateMethod · 0.65

Implementers 2

testContainermath_test.go
SpaceComponentcommon/collision.go

Calls

no outgoing calls

Tested by

no test coverage detected