MATH: Janitorial

This commit is contained in:
Paweł Kołodziejski 2022-06-20 00:19:40 +02:00
parent 29e4b87fdb
commit 78d4217ddb
No known key found for this signature in database
GPG key ID: 0BDADC9E74440FF7
14 changed files with 184 additions and 184 deletions

View file

@ -46,7 +46,7 @@ void Matrix<3, 3>::transpose() {
* http://clb.confined.space/MathGeoLib/nightly/docs/float3x3_LookAt.php
*/
void Matrix<3, 3>::buildFromTargetDir(const Math::Vector3d &modelForward, const Math::Vector3d &targetDirection,
const Math::Vector3d &modelUp, const Math::Vector3d &worldUp) {
const Math::Vector3d &modelUp, const Math::Vector3d &worldUp) {
Math::Vector3d modelRight = Math::Vector3d::crossProduct(modelUp, modelForward);
modelRight.normalize();
Math::Vector3d worldRight = Math::Vector3d::crossProduct(worldUp, targetDirection);