fixed typos (#5048)

This commit is contained in:
freddii 2021-02-13 19:08:06 +01:00 committed by GitHub
parent 08b3285722
commit 0536b14fac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -867,7 +867,7 @@ ModelObject::transform_by_instance(ModelInstance instance, bool dont_translate)
/* /*
Let: Let:
* I1 be the trafo of the given instance, * I1 be the trafo of the given instance,
* V the originial volume trafo and * V the original volume trafo and
* I2 the trafo of the instance to be updated * I2 the trafo of the instance to be updated
Then: Then:

View File

@ -26,7 +26,7 @@ TransformationMatrix::TransformationMatrix(const std::vector<double> &entries_ro
if (entries_row_maj.size() != 12) if (entries_row_maj.size() != 12)
{ {
*this = TransformationMatrix(); *this = TransformationMatrix();
CONFESS("Invalid number of entries when initalizing TransformationMatrix. Vector length must be 12."); CONFESS("Invalid number of entries when initializing TransformationMatrix. Vector length must be 12.");
return; return;
} }
m00 = entries_row_maj[0]; m01 = entries_row_maj[1]; m02 = entries_row_maj[2]; m03 = entries_row_maj[3]; m00 = entries_row_maj[0]; m01 = entries_row_maj[1]; m02 = entries_row_maj[2]; m03 = entries_row_maj[3];

View File

@ -101,7 +101,7 @@ public:
/// generates a translation matrix /// generates a translation matrix
static TransformationMatrix mat_translation(const Vectorf3 &vector); static TransformationMatrix mat_translation(const Vectorf3 &vector);
/// generates a rotation matrix around coodinate axis /// generates a rotation matrix around coordinate axis
static TransformationMatrix mat_rotation(double angle_rad, const Axis &axis); static TransformationMatrix mat_rotation(double angle_rad, const Axis &axis);
/// generates a rotation matrix around arbitrary axis /// generates a rotation matrix around arbitrary axis