File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -138,16 +138,16 @@ namespace vsg
138138 }
139139
140140 template <typename T>
141- t_vec3 <T> operator *(const t_mat2<T>& lhs, const t_vec2<T>& rhs)
141+ t_vec2 <T> operator *(const t_mat2<T>& lhs, const t_vec2<T>& rhs)
142142 {
143- return t_vec3 <T>((lhs[0 ][0 ] * rhs[0 ] + lhs[1 ][0 ] * rhs[1 ]),
143+ return t_vec2 <T>((lhs[0 ][0 ] * rhs[0 ] + lhs[1 ][0 ] * rhs[1 ]),
144144 (lhs[0 ][1 ] * rhs[0 ] + lhs[1 ][1 ] * rhs[1 ]));
145145 }
146146
147147 template <typename T>
148- t_vec3 <T> operator *(const t_vec2<T>& lhs, const t_mat2<T>& rhs)
148+ t_vec2 <T> operator *(const t_vec2<T>& lhs, const t_mat2<T>& rhs)
149149 {
150- return t_vec3 <T>(lhs[0 ] * rhs[0 ][0 ] + lhs[1 ] * rhs[0 ][1 ],
150+ return t_vec2 <T>(lhs[0 ] * rhs[0 ][0 ] + lhs[1 ] * rhs[0 ][1 ],
151151 lhs[0 ] * rhs[1 ][0 ] + lhs[1 ] * rhs[1 ][1 ]);
152152 }
153153} // namespace vsg
You can’t perform that action at this time.
0 commit comments