Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
Math.c
Go to the documentation of this file.
6
21class Curve : array<vector>
22{
23 // Empty class just to distinguish this array<vector> from the others
24}
25
43class Curve3 : array<float>
44{
48 vector GetPoint(int pointIndex, int curveIndex)
49 {
50 vector result;
51 result[0] = this[pointIndex * 4];
52 result[1] = this[pointIndex * 4 + curveIndex + 1];
53 return result;
54 }
55
56 void SetPointValue(int pointIndex, int curveIndex, float value)
57 {
58 this[pointIndex * 4 + curveIndex + 1] = value;
59 }
60}
61
Definition Math.c:22
void SetPointValue(int pointIndex, int curveIndex, float value)
Definition Math.c:56