Cogs.Foundation
Loading...
Searching...
No Matches
Public Attributes | List of all members
Cogs::Gesture::Rotate Struct Reference

#include <Gestures.h>

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.
 

Member Data Documentation

◆ angle

float Cogs::Gesture::Rotate::angle

Rotation angle in radians, 0 when the gesture starts.

◆ center

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

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


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