Interpolating Double Tree Map
Woah that sounds scary
Using IDTM for Shooting Systems
What is IDTM?
public static final InterpolatingDoubleTreeMap kMidOffsetMap = new InterpolatingDoubleTreeMap();
static {
kMidOffsetMap.put(-0.112, -0.149804);
kMidOffsetMap.put(0.0, 0.0);
}Why is this useful in shooting games?
Distance to Hood Angle
Distance to Shooter Wheel Velocity
Distance to Time for Moving Shots
How to implement
Benefits
Last updated