SnCurveSegment
SnCurveSegment

Represents a single segment of an SN-Curve.

SnCurveSegment
SnCurveSegment(
float m,
float loga
)

Creates an SnCurveSegment.

Parameters
m
float

The m value of the segment.

loga
float

The logA value of the segment.

m
float m() const

Gets the m value of the segment.

m
void m(
float val
)

Sets the m value of the segment.

Parameters
val
float

The m value to set.

logA
float logA() const

Gets the logA value of the segment.

logA
void logA(
float val
)

Sets the logA value of the segment.

Parameters
val
float

The logA value to set.

DamageAngles

Typedef for a map of angle IDs (uint8) to damage angles (float).

SnCurveSegments

Typedef for a map of segment IDs (uint8) to SnCurveSegment objects.