Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Emscripten
Input
RotateGesture.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "VectorMath.h"
6
#include "InputEvents.h"
7
#include "IEmscriptenInputHandler.h"
8
9
namespace
Eegeo
10
{
11
namespace
Emscripten
12
{
13
namespace
Input
14
{
15
class
RotateGesture
16
{
17
private
:
18
IEmscriptenInputHandler
* pHandler;
19
20
bool
m_rotating;
21
22
v2
m_anchor;
23
float
m_totalRotation;
24
public
:
25
RotateGesture
(
IEmscriptenInputHandler
* pHandler);
26
27
void
PointerDown(
const
MouseInputEvent
& event);
28
void
PointerUp(
const
MouseInputEvent
& event);
29
void
PointerMove(
const
MouseInputEvent
& event);
30
};
31
}
32
}
33
}
Generated on Sat Jun 10 2023 02:00:28 for eeGeo Platform SDK by
1.8.3.1