Yasiu Math 1
Collection of mathematic functions that help create game mechanics and procedural tools
Loading...
Searching...
No Matches
YasiuMath::Types::Point< T > Struct Template Reference

Pair-like type, Helper for point description in ConvexHull algorithm. More...

#include <YasiuMathDataTypes.h>

Public Member Functions

T fastAngle ()
 Get Angle from X/Y.

Public Attributes

T x = 0
T y = 0

Detailed Description

template<typename T>
struct YasiuMath::Types::Point< T >

Pair-like type, Helper for point description in ConvexHull algorithm.

XY are point offset from (0,0) and this can be converted to abstract angle, starting from X+ axis around origin point

Warning
Angle is not give in Deg/Rad!
Angle is only used to identify order of point for Convex Hull

Member Data Documentation

◆ x

template<typename T>
T YasiuMath::Types::Point< T >::x = 0

X

◆ y

template<typename T>
T YasiuMath::Types::Point< T >::y = 0

Y


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