Fix up linux build.
This commit is contained in:
parent
c81db288b0
commit
b76dc184b3
21 changed files with 86 additions and 66 deletions
|
@ -61,7 +61,8 @@ void AbstractMesh::transform(const Transform& transform)
|
|||
|
||||
void AbstractMesh::translate(double offsetX, double offsetY, double offsetZ)
|
||||
{
|
||||
Transform transform({ -offsetX, -offsetY, -offsetZ });
|
||||
const Point loc {-offsetX, -offsetY, -offsetZ};
|
||||
Transform transform(loc);
|
||||
for (auto& node : mNodes)
|
||||
{
|
||||
node->apply(transform);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue