Browse Source

Fix double-precision Bezier typedefs to be actually double-precision.

pull/601/head
Vladimír Vondruš 3 years ago
parent
commit
b6a31a0af4
  1. 3
      doc/changelog.dox
  2. 8
      src/Magnum/Magnum.h

3
doc/changelog.dox

@ -775,6 +775,9 @@ See also:
- Fixed a silly mistake where there was no @cpp extern template @ce for a
@ref Frustumd debug printer but two declarations for the float version
instead (see [mosra/magnum#545](https://github.com/mosra/magnum/issues/545))
- Fixed the @ref QuadraticBezier2Dd, @ref QuadraticBezier3Dd,
@ref CubicBezier2Dd and @ref CubicBezier3Dd typedefs to be actually
double-precision
- Fixed @ref MeshTools::compile() to properly take into account index buffer
offsets
- Fixed @ref MeshTools::removeDuplicates() to not take into account random

8
src/Magnum/Magnum.h

@ -1196,16 +1196,16 @@ Equivalent to GLSL @glsl dmat4x3 @ce.
typedef Math::Matrix4x3<Double> Matrix4x3d;
/** @brief Double two-dimensional quadratic Bézier curve */
typedef Math::QuadraticBezier2D<Float> QuadraticBezier2Dd;
typedef Math::QuadraticBezier2D<Double> QuadraticBezier2Dd;
/** @brief Double three-dimensional quadratic Bézier curve */
typedef Math::QuadraticBezier3D<Float> QuadraticBezier3Dd;
typedef Math::QuadraticBezier3D<Double> QuadraticBezier3Dd;
/** @brief Double two-dimensional cubic Bézier curve */
typedef Math::CubicBezier2D<Float> CubicBezier2Dd;
typedef Math::CubicBezier2D<Double> CubicBezier2Dd;
/** @brief Double three-dimensional cubic Bézier curve */
typedef Math::CubicBezier3D<Float> CubicBezier3Dd;
typedef Math::CubicBezier3D<Double> CubicBezier3Dd;
/** @brief Double scalar cubic Hermite spline point */
typedef Math::CubicHermite1D<Double> CubicHermite1Dd;

Loading…
Cancel
Save