Fix significant typo.
This commit is contained in:
parent
b2265d26a3
commit
6cbaaabd6a
2
vec3.h
2
vec3.h
@ -89,7 +89,7 @@ inline Vec3 operator/(const Vec3& v, double t) {
|
|||||||
inline double dot(const Vec3 &u, const Vec3& v) {
|
inline double dot(const Vec3 &u, const Vec3& v) {
|
||||||
return u.e[0] * v.e[0]
|
return u.e[0] * v.e[0]
|
||||||
+ u.e[1] * v.e[1]
|
+ u.e[1] * v.e[1]
|
||||||
+ u.e[2] * v.e[1];
|
+ u.e[2] * v.e[2];
|
||||||
}
|
}
|
||||||
|
|
||||||
inline Vec3 cross(const Vec3 &u, const Vec3& v) {
|
inline Vec3 cross(const Vec3 &u, const Vec3& v) {
|
||||||
|
Loading…
Reference in New Issue
Block a user