Lines Matching refs:res
56 Float3 res = new Float3(); in add() local
57 res.x = a.x + b.x; in add()
58 res.y = a.y + b.y; in add()
59 res.z = a.z + b.z; in add()
61 return res; in add()
94 Float3 res = new Float3(); in add() local
95 res.x = a.x + b; in add()
96 res.y = a.y + b; in add()
97 res.z = a.z + b; in add()
99 return res; in add()
121 Float3 res = new Float3(); in sub() local
122 res.x = a.x - b.x; in sub()
123 res.y = a.y - b.y; in sub()
124 res.z = a.z - b.z; in sub()
126 return res; in sub()
148 Float3 res = new Float3(); in sub() local
149 res.x = a.x - b; in sub()
150 res.y = a.y - b; in sub()
151 res.z = a.z - b; in sub()
153 return res; in sub()
175 Float3 res = new Float3(); in mul() local
176 res.x = a.x * b.x; in mul()
177 res.y = a.y * b.y; in mul()
178 res.z = a.z * b.z; in mul()
180 return res; in mul()
202 Float3 res = new Float3(); in mul() local
203 res.x = a.x * b; in mul()
204 res.y = a.y * b; in mul()
205 res.z = a.z * b; in mul()
207 return res; in mul()
229 Float3 res = new Float3(); in div() local
230 res.x = a.x / b.x; in div()
231 res.y = a.y / b.y; in div()
232 res.z = a.z / b.z; in div()
234 return res; in div()
256 Float3 res = new Float3(); in div() local
257 res.x = a.x / b; in div()
258 res.y = a.y / b; in div()
259 res.z = a.z / b; in div()
261 return res; in div()