mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-29 23:50:34 -06:00
Cleanup code with designated initializer lists
This commit is contained in:
@@ -229,12 +229,12 @@ bool DirectInputSolver::solve(const std::vector<TouchInputHolder>& list,
|
||||
}
|
||||
|
||||
FunctionData fData = {
|
||||
selectedPoints,
|
||||
screenPoints,
|
||||
_nDof,
|
||||
&camera,
|
||||
selectedBodies.at(0).node,
|
||||
_lmstat
|
||||
.selectedPoints = selectedPoints,
|
||||
.screenPoints = screenPoints,
|
||||
.nDOF = _nDof,
|
||||
.camera = &camera,
|
||||
.node = selectedBodies.at(0).node,
|
||||
.stats = _lmstat
|
||||
};
|
||||
void* dataPtr = reinterpret_cast<void*>(&fData);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user