Replace float_t with float (like wtf)
This commit is contained in:
parent
933734bd2e
commit
cc4b2c645b
1 changed files with 3 additions and 3 deletions
|
|
@ -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}
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue