Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenlib/BLI_math_vector_types.hh
| Show First 20 Lines • Show All 604 Lines • ▼ Show 20 Lines | |||||
| template<typename T> struct AssertUnitEpsilon { | template<typename T> struct AssertUnitEpsilon { | ||||
| /** \note Copy of BLI_ASSERT_UNIT_EPSILON_DB to avoid dragging the entire header. */ | /** \note Copy of BLI_ASSERT_UNIT_EPSILON_DB to avoid dragging the entire header. */ | ||||
| static constexpr T value = T(0.0002); | static constexpr T value = T(0.0002); | ||||
| }; | }; | ||||
| } // namespace math | } // namespace math | ||||
| using char2 = blender::VecBase<int8_t, 2>; | |||||
| using char3 = blender::VecBase<int8_t, 3>; | using char3 = blender::VecBase<int8_t, 3>; | ||||
| using uchar3 = blender::VecBase<uint8_t, 3>; | using uchar3 = blender::VecBase<uint8_t, 3>; | ||||
| using uchar4 = blender::VecBase<uint8_t, 4>; | using uchar4 = blender::VecBase<uint8_t, 4>; | ||||
| using int2 = VecBase<int32_t, 2>; | using int2 = VecBase<int32_t, 2>; | ||||
| using int3 = VecBase<int32_t, 3>; | using int3 = VecBase<int32_t, 3>; | ||||
| using int4 = VecBase<int32_t, 4>; | using int4 = VecBase<int32_t, 4>; | ||||
| Show All 21 Lines | |||||