Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_Ray.c
Go to the documentation of this file.
1class SCR_Ray
2{
3 vector m_vPosition;
4 vector m_vDirection;
5
6 //------------------------------------------------------------------------------------------------
12 static SCR_Ray Lerp(notnull SCR_Ray valueA, notnull SCR_Ray valueB, float t = 0.5)
13 {
14 SCR_Ray result = new SCR_Ray();
15 result.m_vPosition = vector.Lerp(valueA.m_vPosition, valueB.m_vPosition, t);
16 result.m_vDirection = vector.Lerp(valueA.m_vDirection, valueB.m_vDirection, t).Normalized();
17 return result;
18 }
19}