2021-03-31 14:49:25 +02:00
|
|
|
#pragma once
|
|
|
|
#include "Vector3.h"
|
|
|
|
|
|
|
|
namespace Gedeng {
|
|
|
|
|
|
|
|
class Path {
|
2021-04-11 23:23:04 +02:00
|
|
|
public:
|
2021-03-31 14:49:25 +02:00
|
|
|
// Return a Vector3 on the path. `t` should be between 0 (path begin) and 1
|
|
|
|
// (path end).
|
|
|
|
Vector3 get_interpolated_position(float t) const;
|
|
|
|
|
|
|
|
// Return the number of Vector3's which make up the path.
|
|
|
|
unsigned int get_size() const;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Gedeng
|