MCPcopy Create free account
hub / github.com/OxideEngine/Oxide / add

Method add

oxide_math/commons/vector3.rs:92–98  ·  view source on GitHub ↗
(self, _rhs: Vector3)

Source from the content-addressed store, hash-verified

90 type Output = Vector3;
91
92 fn add(self, _rhs: Vector3) -> Vector3 {
93 Vector3 {
94 x: self.x + _rhs.x,
95 y: self.y + _rhs.y,
96 z: self.z + _rhs.z,
97 }
98 }
99}
100
101impl ops::Sub<Vector3> for Vector3 {

Callers 2

updateMethod · 0.45
uiMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected