Sfoglia il codice sorgente

Fixed SDL_TouchFingerEvent documentation in header file.

Philipp Wiesemann 10 anni fa
parent
commit
6e4e9ceb44
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      include/SDL_events.h

+ 2 - 2
include/SDL_events.h

@@ -412,8 +412,8 @@ typedef struct SDL_TouchFingerEvent
     SDL_FingerID fingerId;
     float x;            /**< Normalized in the range 0...1 */
     float y;            /**< Normalized in the range 0...1 */
-    float dx;           /**< Normalized in the range 0...1 */
-    float dy;           /**< Normalized in the range 0...1 */
+    float dx;           /**< Normalized in the range -1...1 */
+    float dy;           /**< Normalized in the range -1...1 */
     float pressure;     /**< Normalized in the range 0...1 */
 } SDL_TouchFingerEvent;