OGLplus  (0.59.0) a C++ wrapper for rendering APIs

pressure.hpp
Go to the documentation of this file.
1 
9 #ifndef EAGINE_UNITS_DIM_PRESSURE_HPP
10 #define EAGINE_UNITS_DIM_PRESSURE_HPP
11 
12 #include "area.hpp"
13 #include "force.hpp"
14 
15 namespace eagine::units {
16 
17 using pressure = decltype(force() / area());
18 
19 template <>
20 struct name_of<pressure> {
21  static constexpr const char mp_str[] = "pressure";
22 };
23 
24 } // namespace eagine::units
25 
26 #endif // EAGINE_UNITS_DIM_PRESSURE_HPP

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).