Skip to content

Commit

Permalink
Follow-up typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
luzpaz committed Dec 30, 2019
1 parent 9765a2c commit dba72ac
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion xs/src/BSpline/BSpline.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ template <class T> struct BSplineBaseP;
* own instantiation.
*
* The algorithm is based on the cubic spline described by Katsuyuki Ooyama
* in Montly Weather Review, Vol 115, October 1987. This implementation
* in Monthly Weather Review, Vol 115, October 1987. This implementation
* has benefited from comparisons with a previous FORTRAN implementation by
* James L. Franklin, NOAA/Hurricane Research Division. In particular, the
* algorithm in the Setup() method is based mostly on his implementation
Expand Down
2 changes: 1 addition & 1 deletion xs/src/libslic3r/PrintConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ template<> inline t_config_enum_values ConfigOptionEnum<SeamPosition>::get_enum_
return keys_map;
}

// Defines each and every confiuration option of Slic3r, including the properties of the GUI dialogs.
// Defines each and every configuration option of Slic3r, including the properties of the GUI dialogs.
// Does not store the actual values, but defines default values.
class PrintConfigDef : public ConfigDef
{
Expand Down
4 changes: 2 additions & 2 deletions xs/src/libslic3r/PrintObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -678,9 +678,9 @@ std::vector<coordf_t> PrintObject::generate_object_layers(coordf_t first_layer_h
// we need to thicken last layer
coordf_t new_h = result[last_layer] - result[last_layer-1];
if(this->config.adaptive_slicing.value) { // use min/max layer_height values from adaptive algo.
new_h = std::min(max_layer_height, new_h - diff); // add (negativ) diff value
new_h = std::min(max_layer_height, new_h - diff); // add (negative) diff value
}else{
new_h = std::min(min_nozzle_diameter, new_h - diff); // add (negativ) diff value
new_h = std::min(min_nozzle_diameter, new_h - diff); // add (negative) diff value
}
result[last_layer] = result[last_layer-1] + new_h;
} else {
Expand Down
2 changes: 1 addition & 1 deletion xs/src/tiny_obj_loader.h
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ struct vertex_index_t {
// index + smoothing group.
struct face_t {
unsigned int
smoothing_group_id; // smoothing group id. 0 = smoothing groupd is off.
smoothing_group_id; // smoothing group id. 0 = smoothing group id is off.
int pad_;
std::vector<vertex_index_t> vertex_indices; // face vertex indices.

Expand Down

0 comments on commit dba72ac

Please sign in to comment.