mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 01:25:56 +08:00
fixed typos (#5048)
This commit is contained in:
parent
08b3285722
commit
0536b14fac
@ -867,7 +867,7 @@ ModelObject::transform_by_instance(ModelInstance instance, bool dont_translate)
|
||||
/*
|
||||
Let:
|
||||
* 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
|
||||
|
||||
Then:
|
||||
|
@ -26,7 +26,7 @@ TransformationMatrix::TransformationMatrix(const std::vector<double> &entries_ro
|
||||
if (entries_row_maj.size() != 12)
|
||||
{
|
||||
*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;
|
||||
}
|
||||
m00 = entries_row_maj[0]; m01 = entries_row_maj[1]; m02 = entries_row_maj[2]; m03 = entries_row_maj[3];
|
||||
|
@ -101,7 +101,7 @@ public:
|
||||
/// generates a translation matrix
|
||||
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);
|
||||
|
||||
/// generates a rotation matrix around arbitrary axis
|
||||
|
Loading…
x
Reference in New Issue
Block a user