OGLplus
(0.59.0)
a C++ wrapper for rendering APIs
eagine
units
base_scaled_unit.hpp
Go to the documentation of this file.
1
9
#ifndef EAGINE_UNITS_BASE_SCALED_UNIT_HPP
10
#define EAGINE_UNITS_BASE_SCALED_UNIT_HPP
11
12
#include "
base_unit.hpp
"
13
14
namespace
eagine::units::base {
15
16
template
<
typename
Scale,
typename
Unit>
17
struct
scaled_unit {
18
using
dimension = dimension_of_t<Unit>;
19
using
scale
= Scale;
20
using
type = scaled_unit;
21
};
22
23
}
// namespace eagine::units::base
24
25
#endif // EAGINE_UNITS_BASE_SCALED_UNIT_HPP
eagine::shapes::scale
static auto scale(std::shared_ptr< generator > gen, std::array< float, 3 > s) noexcept
Constructs instances of scaled_gen modifier.
Definition:
scaled.hpp:41
base_unit.hpp
Copyright © 2015-2021
Matúš Chochlík
.
<
chochlik -at -gmail.com
>
Documentation generated on Tue Apr 13 2021 by
Doxygen
(version 1.8.17).