()
| 22 | } |
| 23 | |
| 24 | public void Step() |
| 25 | { |
| 26 | UI.PushSurface(modelPose); |
| 27 | |
| 28 | handleNode.ModelTransform.Decompose(out Vec3 pos, out Quat rot, out Vec3 scale); |
| 29 | Pose handlePose = new Pose(pos, rot); |
| 30 | if (UI.Handle("modelHandle", ref handlePose, handleNode.Mesh.Bounds)) |
| 31 | handleNode.ModelTransform = handlePose.ToMatrix(scale); |
| 32 | |
| 33 | UI.PopSurface(); |
| 34 | model.Draw(modelPose.ToMatrix()); |
| 35 | } |
| 36 | |
| 37 | public void Shutdown() { } |
| 38 | } |
nothing calls this directly
no test coverage detected