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
138
138
}
139
139
140
140
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)
142
142
{
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 ]),
144
144
(lhs[0 ][1 ] * rhs[0 ] + lhs[1 ][1 ] * rhs[1 ]));
145
145
}
146
146
147
147
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)
149
149
{
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 ],
151
151
lhs[0 ] * rhs[1 ][0 ] + lhs[1 ] * rhs[1 ][1 ]);
152
152
}
153
153
} // namespace vsg
You can’t perform that action at this time.
0 commit comments