Cogs.Core
Public Attributes | List of all members
Cogs::Gesture::Rotate Struct Reference

Public Attributes

glm::vec2 center = {}
 Mid position between the two pointer positions when the event was triggered.
 
float angle
 Rotation angle in radians, 0 when the gesture starts.
 

Detailed Description

Definition at line 71 of file Gestures.h.

Member Data Documentation

◆ angle

float Cogs::Gesture::Rotate::angle

Rotation angle in radians, 0 when the gesture starts.

Definition at line 74 of file Gestures.h.

◆ center

glm::vec2 Cogs::Gesture::Rotate::center = {}

Mid position between the two pointer positions when the event was triggered.

Definition at line 73 of file Gestures.h.


The documentation for this struct was generated from the following file: