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

Public Attributes

glm::vec2 center = {}
 Mid position between the two pointer positions when the event was triggered.
 
float scale
 Scale factor, 1 when the gesture starts.
 

Detailed Description

Definition at line 76 of file Gestures.h.

Member Data Documentation

◆ center

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

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

Definition at line 78 of file Gestures.h.

◆ scale

float Cogs::Gesture::Pinch::scale

Scale factor, 1 when the gesture starts.

Definition at line 79 of file Gestures.h.


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