void Hud::resize(int width, int height)
{
- cml::matrix_orthographic_RH( projection_,
- 0.0f,
- Mf::Scalar(width), 0.0f, Mf::Scalar(height),
- 1.0f, -1.0f, cml::z_clip_neg_one);
+ cml::matrix_orthographic_RH(projection_,
+ SCALAR(0.0),
+ Mf::Scalar(width), SCALAR(0.0), Mf::Scalar(height),
+ SCALAR(1.0), SCALAR(-1.0), cml::z_clip_neg_one);
// position the two progress bars at the top-left of the screen
bar1_.resize(Mf::Rectangle(20, height - 51,