Fix Style Issues
parent
a2e6f7a5ef
commit
82476108ba
|
@ -239,7 +239,7 @@ struct Vector3 {
|
||||||
}
|
}
|
||||||
|
|
||||||
inline Vector3 reflect(const Vector3 &p_normal) const {
|
inline Vector3 reflect(const Vector3 &p_normal) const {
|
||||||
return -(*this - p_normal * this->dot(p_normal) * 2.f);
|
return -(*this - p_normal * this->dot(p_normal) * 2.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline Vector3 rotated(const Vector3 &axis, const real_t phi) const {
|
inline Vector3 rotated(const Vector3 &axis, const real_t phi) const {
|
||||||
|
|
Loading…
Reference in New Issue