mirror of https://github.com/AxioDL/zeus.git
Fix CMRay constructor issue
This commit is contained in:
parent
20603da60d
commit
88769bded0
|
@ -11,7 +11,7 @@ struct CMRay
|
||||||
: start(start), length(len), invLength(1.f / len), dir(dirin)
|
: start(start), length(len), invLength(1.f / len), dir(dirin)
|
||||||
{
|
{
|
||||||
end = start + (len * dirin);
|
end = start + (len * dirin);
|
||||||
delta = dirin - start;
|
delta = end - start;
|
||||||
}
|
}
|
||||||
|
|
||||||
CMRay(const CVector3f& start, const CVector3f& end, float len, float invLen)
|
CMRay(const CVector3f& start, const CVector3f& end, float len, float invLen)
|
||||||
|
|
Loading…
Reference in New Issue