| 374 | #endif // /ENABLE_RESOURCE_HEAP |
| 375 | |
| 376 | void UpdateModelTransform(Settings& settings, const Gs::Matrix4f& proj, float rotation, const Gs::Vector3f& axis = { 0, 1, 0 }) |
| 377 | { |
| 378 | Gs::Translate(settings.wMatrix, { 0, 0, 5 }); |
| 379 | Gs::RotateFree(settings.wMatrix, axis.Normalized(), rotation); |
| 380 | settings.wvpMatrix = proj * settings.wMatrix; |
| 381 | } |
| 382 | |
| 383 | static const auto shaderStages = LLGL::StageFlags::VertexStage | LLGL::StageFlags::FragmentStage; |
| 384 |
no outgoing calls
no test coverage detected