Skip to content

Commit 4f2675d

Browse files
Merge pull request vsg-dev#1549 from Mikalai/viewmatrix-copy-contrusctor
Copy origin attribute in ViewMatrix copy constructor
2 parents 4d2280b + c197201 commit 4f2675d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/vsg/app/ViewMatrix.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ namespace vsg
2727
}
2828

2929
explicit ViewMatrix(const ViewMatrix& vm, const CopyOp& copyop = {}) :
30-
Inherit(vm, copyop)
30+
Inherit(vm, copyop),
31+
origin(vm.origin)
3132
{
3233
}
3334

0 commit comments

Comments
 (0)