mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-16 08:17:01 +00:00
22
include/Collision/CMRay.hpp
Normal file
22
include/Collision/CMRay.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef __CMRAY_HPP__
|
||||
#define __CMRAY_HPP__
|
||||
|
||||
#include "Kyoto/Math/CVector3f.hpp"
|
||||
|
||||
class CTransform4f;
|
||||
class CMRay {
|
||||
public:
|
||||
CMRay(const CVector3f& start, const CVector3f& end, float, float);
|
||||
CMRay(const CVector3f& start, const CVector3f& end, float);
|
||||
CMRay GetInvUnscaledTransformRay(const CTransform4f&) const;
|
||||
|
||||
private:
|
||||
CVector3f mStart;
|
||||
CVector3f mEnd;
|
||||
CVector3f mDelta;
|
||||
float mLength;
|
||||
float mInvLength;
|
||||
CVector3f mDir;
|
||||
};
|
||||
|
||||
#endif // __CMRAY_HPP__
|
||||
Reference in New Issue
Block a user