Skip to content

Commit c197201

Browse files
committed
Copy origin attribute in ViewMatrix copy constructor
1 parent 4d2280b commit c197201

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)