mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Merge commit '889cebb7c2' into main
This commit is contained in:
commit
2ad73db6e2
1 changed files with 2 additions and 2 deletions
|
|
@ -73,8 +73,8 @@ touch_handle_touch(void *data,
|
|||
**/
|
||||
|
||||
float FIXED_TO_FLOAT = 1. / 10000.;
|
||||
float xf = FIXED_TO_FLOAT * x;
|
||||
float yf = FIXED_TO_FLOAT * y;
|
||||
float xf = FIXED_TO_FLOAT * normalized_x;
|
||||
float yf = FIXED_TO_FLOAT * normalized_y;
|
||||
|
||||
float PRESSURE_TO_FLOAT = 1. / 255.;
|
||||
float pressuref = PRESSURE_TO_FLOAT * pressure;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue