IMGUI use data from Gamestate, fix pointInRect bug

Wrong if logic causing point-in-rect to be valid if only x or y is
valid, where correct logic is both x and y need to be within the rect.
This commit is contained in:
2016-08-04 21:17:16 +10:00
parent 8eb9068093
commit eb1962e05e
6 changed files with 50 additions and 38 deletions
+2 -1
View File
@@ -18,7 +18,7 @@
#
AllowAllParametersOfDeclarationOnNextLine: true,
AllowShortBlocksOnASingleLine: false,
AllowShortIfStatementsOnASingleLine: false,
AllowShortIfStatementsOnASingleLine: true,
AllowShortLoopsOnASingleLine: false,
#
BinPackArguments: true,
@@ -42,4 +42,5 @@
#
Cpp11BracedListStyle: true,
Standard: Cpp11,
#
}