![]() |
OpenVDB 14.0.0
|
Classes | |
| struct | MakeVoid |
| Scalar component type of a scalar or vector value type, e.g. float for both float and Vec3<float> More... | |
| struct | ScalarOf |
| struct | ScalarOf< T, typename MakeVoid< typename T::ValueType >::type > |
Functions | |
| template<typename RealT, typename T> | |
| constexpr auto | toReal (const T &v) |
| Explicitly convert an integral v to RealT, i.e. the implicit promotion in mixed integer/floating-point arithmetic. All other types are returned unchanged. | |
| template<typename T, typename S> | |
| T | scale (const T &v, S s) |
| Preserve NanoVDB vectors' component-precision scalar multiplication. For other types, multiply before converting the result back to T. | |
|
inline |
Preserve NanoVDB vectors' component-precision scalar multiplication. For other types, multiply before converting the result back to T.
|
inlineconstexpr |
Explicitly convert an integral v to RealT, i.e. the implicit promotion in mixed integer/floating-point arithmetic. All other types are returned unchanged.