scalar_cast
template <typename To, typename From>
Vector3T< To > scalar_cast(const Vector3T< From > &value) noexceptParameters
| Name | Type |
|---|---|
value | const Vector3T< From > & |
Returns
Vector3T< To >
Description
Converts each component of value to To with static_cast.
template <typename To, typename From>
QuaternionT< To > scalar_cast(const QuaternionT< From > &value) noexceptParameters
| Name | Type |
|---|---|
value | const QuaternionT< From > & |
Returns
QuaternionT< To >
Description
Converts each component of value to To with static_cast, without renormalising.

