elect
03/28/2017, 9:49 AMfun getSphereOrbitPos(modelMatrix: MatrixStack, ..): Vec3 {
modelMatrix run {
..
return (top() * Vec4(0.0f, 0.0f, 0.0f, 1.0f)).toVec3() // possible?
}
}
I'd like to return the intermediate result which is only available inside the run{ }