Replace float_t with float (like wtf)

This commit is contained in:
Nikita Lisitsa 2023-05-13 00:04:06 +03:00
parent 933734bd2e
commit cc4b2c645b

View file

@ -55,18 +55,18 @@ namespace psemek::geom
struct orthographic_camera struct orthographic_camera
: camera : camera
{ {
geom::box<float_t, 3> box; geom::box<float, 3> box;
orthographic_camera() = default; orthographic_camera() = default;
orthographic_camera(geom::box<float_t, 2> const & box) orthographic_camera(geom::box<float, 2> const & box)
{ {
this->box[0] = box[0]; this->box[0] = box[0];
this->box[1] = box[1]; this->box[1] = box[1];
this->box[2] = {-1.f, 1.f}; this->box[2] = {-1.f, 1.f};
} }
orthographic_camera(geom::box<float_t, 3> const & box) orthographic_camera(geom::box<float, 3> const & box)
: box{box} : box{box}
{} {}