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

Method add

oxide_math/commons/vector4.rs:85–92  ·  view source on GitHub ↗
(self, _rhs: Vector4)

Source from the content-addressed store, hash-verified

83 type Output = Vector4;
84
85 fn add(self, _rhs: Vector4) -> Vector4 {
86 Vector4 {
87 x: self.x + _rhs.x,
88 y: self.y + _rhs.y,
89 z: self.z + _rhs.z,
90 w: self.w + _rhs.w,
91 }
92 }
93}
94
95impl ops::Sub<Vector4> for Vector4 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected