MCPcopy
hub / github.com/g3n/engine / Copy

Method Copy

math32/box3.go:65–70  ·  view source on GitHub ↗

Copy copy other to this bounding box. Returns pointer to this updated bounding box.

(other *Box3)

Source from the content-addressed store, hash-verified

63// Copy copy other to this bounding box.
64// Returns pointer to this updated bounding box.
65func (b *Box3) Copy(other *Box3) *Box3 {
66
67 b.Min = other.Min
68 b.Max = other.Max
69 return b
70}
71
72// MakeEmpty set this bounding box to empty.
73// Returns pointer to this updated bounding box.

Callers 1

SetFromCenterAndSizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected