smk::Touch Struct Reference

Description

Definition at line 20 of file Touch.hpp.

Public Member Functions

glm::vec2 position () const
 

Public Attributes

int finger_id = 0
 
std::vector< TouchDataPointdata_points
 

Member Function Documentation

◆ position()

glm::vec2 smk::Touch::position ( ) const

Definition at line 9 of file Touch.cpp.

9 {
10 return data_points.back().position;
11}

Member Data Documentation

◆ data_points

std::vector<TouchDataPoint> smk::Touch::data_points

Definition at line 22 of file Touch.hpp.

◆ finger_id

int smk::Touch::finger_id = 0

Definition at line 21 of file Touch.hpp.


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