Browse Source

Added missing getters to MeshView to match Mesh API.

pull/187/head^2
Vladimír Vondruš 10 years ago
parent
commit
bec5f5471d
  1. 6
      src/Magnum/MeshView.h

6
src/Magnum/MeshView.h

@ -105,6 +105,9 @@ class MAGNUM_EXPORT MeshView {
/** @brief Movement is not allowed */
MeshView& operator=(MeshView&& other) = delete;
/** @brief Vertex/index count */
Int count() const { return _count; }
/**
* @brief Set vertex/index count
* @return Reference to self (for method chaining)
@ -116,6 +119,9 @@ class MAGNUM_EXPORT MeshView {
return *this;
}
/** @brief Base vertex */
Int baseVertex() const { return _baseVertex; }
/**
* @brief Set base vertex
* @return Reference to self (for method chaining)

Loading…
Cancel
Save