Changeset 664 for trunk/src/input.h


Ignore:
Timestamp:
Feb 18, 2011, 1:09:28 AM (10 years ago)
Author:
sam
Message:

Get rid of float3, float4, int3 etc. in favour of GLSL types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/input.h

    r329 r664  
    2525public:
    2626    /* These methods are general queries */
    27     static float2 GetAxis(int axis);
    28     static int2 GetMousePos();
    29     static int3 GetMouseButtons();
     27    static vec2 GetAxis(int axis);
     28    static vec2i GetMousePos();
     29    static vec3i GetMouseButtons();
    3030
    3131    /* Entities can subscribe to events */
     
    3434
    3535    /* These methods are called by the underlying input listeners */
    36     static void SetMousePos(int2 coord);
     36    static void SetMousePos(vec2i coord);
    3737    static void SetMouseButton(int index);
    3838    static void UnsetMouseButton(int index);
Note: See TracChangeset for help on using the changeset viewer.