Commit 063684a1 authored by Ashley Chen's avatar Ashley Chen
Browse files

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

parent 3e91cfc1
......@@ -78,7 +78,7 @@ interface GeometryConstants {
}
default int wingLightIndex(int flyer, boolean right, int which) {
return 1 + (flyer * NUM_LIGHT_POINTS_PER_FLYER) + (right? NUM_LIGHT_POINTS_PER_WING: 0) + which;
return (flyer * NUM_LIGHT_POINTS_PER_FLYER) + (right? NUM_LIGHT_POINTS_PER_WING: 0) + which;
}
default int wingIndex(int flyer, boolean right) {
......
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