Browse Source

Doc++, @todo+-

pull/7/head
Vladimír Vondruš 13 years ago
parent
commit
861e16e1f9
  1. 2
      src/IndexedMesh.h
  2. 9
      src/Magnum.h
  3. 2
      src/Math/Vector.h

2
src/IndexedMesh.h

@ -131,7 +131,7 @@ class MAGNUM_EXPORT IndexedMesh: public Mesh {
* @brief Set index type
* @return Pointer to self (for method chaining)
*
* Default is @ref Type "IndexType::UnsignedInt".
* Default is @ref IndexType "IndexType::UnsignedInt".
* @see setIndexBuffer(), setIndexCount(), MeshTools::compressIndices()
*/
inline IndexedMesh* setIndexType(IndexType type) {

9
src/Magnum.h

@ -38,15 +38,6 @@
#endif
#endif
/**
* @todo Link to libGL / libGLES based on which windowcontext is used in app
* and whether GLES is enabled or not -- this allows us to use glx with
* ES on nvidia/intel. Using libGL and EGL on nvidia is whole another
* problem, though. How about windows? It won't allow unlinked DLLs, so
* probably always link Magnum itself to GL library there. How about unit
* tests not needing any of GL? -- different testing library?
*/
namespace Corrade {
namespace Utility {
class Debug;

2
src/Math/Vector.h

@ -76,6 +76,8 @@ template<std::size_t size, class T> class Vector: public RectangularMatrix<1, si
* The interpolation is done as in following: @f[
* v_{LERP} = (1 - t) \boldsymbol v_A + t \boldsymbol v_B
* @f]
* @todo http://fgiesen.wordpress.com/2012/08/15/linear-interpolation-past-present-and-future/
* (when SIMD is in place)
*/
inline static Vector<size, T> lerp(const Vector<size, T>& a, const Vector<size, T>& b, T t) {
return (T(1) - t)*a + t*b;

Loading…
Cancel
Save