Commit ed6185f6 authored by Philip A Levis's avatar Philip A Levis
Browse files

Apply suggestion to software/ui/src/Geometry.java

parent 6d32dde2
......@@ -69,7 +69,7 @@ interface GeometryConstants {
final static int NUM_LIGHT_POINTS_PER_FLYER = NUM_WINGS_PER_FLYER * NUM_LIGHT_POINTS_PER_WING + NUM_LIGHT_POINTS_PER_BODY;
default int bodyLightIndex(int flyer) {
return flyer * NUM_LIGHT_POINTS_PER_FLYER;
return flyer * NUM_LIGHT_POINTS_PER_FLYER + LightSamplePoint.LightCorners.BODY.position;
}
default int wingLightIndex(int flyer, boolean right, int which) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment