CRYENGINE Show FlyHelpers_Path.h Source code
Return
Download CRYENGINE:
download FlyHelpers_Path.h Source code
- Download CRYENGINE Source code - Type:.h
- // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
- #ifndef __FLY_HELPERS__PATH__H__
- #define __FLY_HELPERS__PATH__H__
- #include <CryMath/Cry_Geo.h>
- namespace FlyHelpers
- {
- class Path
- {
- public:
- Path();
- ~Path();
- void Clear();
- void AddPoint(const Vec3& point);
- const Vec3& GetPoint(const size_t pointIndex) const;
- Lineseg GetSegment(const size_t segmentIndex) const;
- float GetSegmentLength(const size_t segmentIndex) const;
- size_t GetPointCount() const;
- size_t GetSegmentCount() const;
- void MakeLooping();
- float GetPathDistanceToPoint(const size_t pointIndex) const;
- float GetTotalPathDistance() const;
- private:
- std::vector<Vec3> m_points;
- std::vector<float> m_segmentDistances;
- std::vector<float> m_pathLengthsToPoint;
- };
- }
- #endif
downloadFlyHelpers_Path.h Source code
- Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets
https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps
... 2017-06-10
angular-starter - 2017-06-10