Browse Source

Math : Fixed spaces

pull/165/head
Ashwin Ravichandran 10 years ago
parent
commit
fbee150c71
  1. 1
      .gitignore
  2. 2
      src/Magnum/Math/Bezier.h

1
.gitignore vendored

@ -1,6 +1,7 @@
/build* /build*
/debian /debian
/obj-* /obj-*
.idea/
pkg pkg
*.kdev4 *.kdev4
*~ *~

2
src/Magnum/Math/Bezier.h

@ -95,7 +95,6 @@ template<UnsignedInt order, UnsignedInt dimensions, class T> class Bezier {
* @see @ref operator[]() * @see @ref operator[]()
*/ */
Vector<dimensions, T>* points() { return _points; } Vector<dimensions, T>* points() { return _points; }
constexpr const Vector<dimensions, T>* points() const { return _points; } /**< @overload */ constexpr const Vector<dimensions, T>* points() const { return _points; } /**< @overload */
/** /**
@ -104,7 +103,6 @@ template<UnsignedInt order, UnsignedInt dimensions, class T> class Bezier {
* @see @ref points() * @see @ref points()
*/ */
Vector<dimensions, T>& operator[](std::size_t pos) { return _points[pos]; } Vector<dimensions, T>& operator[](std::size_t pos) { return _points[pos]; }
constexpr Vector<dimensions, T> operator[](std::size_t pos) const { return _points[pos]; } /**< @overload */ constexpr Vector<dimensions, T> operator[](std::size_t pos) const { return _points[pos]; } /**< @overload */
private: private:

Loading…
Cancel
Save