Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing override specifiers on draw() methods #617

Merged
merged 1 commit into from
Feb 23, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dart/dynamics/BoxShape.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class BoxShape : public Shape {
// Documentation inherited.
void draw(renderer::RenderInterface* _ri = nullptr,
const Eigen::Vector4d& _col = Eigen::Vector4d::Ones(),
bool _default = true) const;
bool _default = true) const override;

/// \brief Compute volume from given properties
static double computeVolume(const Eigen::Vector3d& size);
Expand Down
2 changes: 1 addition & 1 deletion dart/dynamics/CylinderShape.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class CylinderShape : public Shape {
// Documentation inherited.
void draw(renderer::RenderInterface* _ri = nullptr,
const Eigen::Vector4d& _color = Eigen::Vector4d::Ones(),
bool _useDefaultColor = true) const;
bool _useDefaultColor = true) const override;

/// \brief Compute volume from given properties
static double computeVolume(double radius, double height);
Expand Down
2 changes: 1 addition & 1 deletion dart/dynamics/EllipsoidShape.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class EllipsoidShape : public Shape {
// Documentation inherited.
void draw(renderer::RenderInterface* _ri = nullptr,
const Eigen::Vector4d& _col = Eigen::Vector4d::Ones(),
bool _useDefaultColor = true) const;
bool _useDefaultColor = true) const override;

/// \brief Compute volume from given properties
static double computeVolume(const Eigen::Vector3d& size);
Expand Down
2 changes: 1 addition & 1 deletion dart/dynamics/PlaneShape.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class PlaneShape : public Shape
// TODO(JS): Not implemented yet
void draw(renderer::RenderInterface* _ri = nullptr,
const Eigen::Vector4d& _col = Eigen::Vector4d::Ones(),
bool _default = true) const;
bool _default = true) const override;

// Documentation inherited.
Eigen::Matrix3d computeInertia(double mass) const override;
Expand Down
2 changes: 1 addition & 1 deletion dart/dynamics/SoftMeshShape.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class SoftMeshShape : public Shape
virtual void draw(
renderer::RenderInterface* _ri = nullptr,
const Eigen::Vector4d& _col = Eigen::Vector4d::Ones(),
bool _default = true) const;
bool _default = true) const override;

protected:
// Documentation inherited.
Expand Down