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

Method Copy

math32/vector3.go:120–124  ·  view source on GitHub ↗

Copy copies other vector to this one. It is equivalent to: *v = *other. Returns the pointer to this updated vector.

(other *Vector3)

Source from the content-addressed store, hash-verified

118// It is equivalent to: *v = *other.
119// Returns the pointer to this updated vector.
120func (v *Vector3) Copy(other *Vector3) *Vector3 {
121
122 *v = *other
123 return v
124}
125
126// Add adds other vector to this one.
127// Returns the pointer to this updated vector.

Callers 14

IntersectLineMethod · 0.95
CoplanarPointMethod · 0.95
ClampPointMethod · 0.95
ProjectOnVectorMethod · 0.95
ProjectOnPlaneMethod · 0.95
ReflectMethod · 0.95
SetFromCenterAndSizeMethod · 0.95
ClampPointMethod · 0.95
DistanceToPointMethod · 0.95
AtMethod · 0.95
ClosestPointToPointMethod · 0.95
DistanceSqToPointMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected