Skip to content
Snippets Groups Projects
Commit cc76244b authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Add override

parent 980e56f5
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ namespace math
Eigen::Vector3f P3(){return p3;}
Eigen::Vector3f Get(float t) override;
Eigen::Vector3f GetDerivative(float t);
Eigen::Vector3f GetDerivative(float t) override;
static Eigen::Vector3f CubicBezierPoint(Eigen::Vector3f p0, Eigen::Vector3f p1, Eigen::Vector3f p2, Eigen::Vector3f p3, float t);
static std::vector<Eigen::Vector3f> CubicBezier(Eigen::Vector3f p0, Eigen::Vector3f p1, Eigen::Vector3f p2, Eigen::Vector3f p3, int steps);
static Eigen::Vector3f CubicBezierDerivative(Eigen::Vector3f p0, Eigen::Vector3f p1, Eigen::Vector3f p2, Eigen::Vector3f p3, float t);
......
......@@ -22,12 +22,8 @@
#pragma once
#include "MathForwardDefinitions.h"
#include "AbstractFunctionR3R1.h"
namespace math
{
......@@ -54,7 +50,7 @@ public:
// https://de.wikipedia.org/wiki/Schnittgerade
Line Intersect(Plane plane);
float Get(Eigen::Vector3f pos);
float Get(Eigen::Vector3f pos) override;
private:
float a;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment