Banuba SDK
Public Member Functions | Public Attributes | List of all members
bnb::point2d Union Reference

Public Member Functions

float sum ()
 
point2d sqr () const noexcept
 
point2d operator/ (const point2d &p) const noexcept
 
point2d operator/ (float f) const noexcept
 
point2d operator* (float a) const noexcept
 
point2d operator+ (float a) const noexcept
 
point2d operator* (const point2d &p) const noexcept
 
point2d operator- (const point2d &p) const noexcept
 
point2d operator+ (const point2d &p) const noexcept
 

Public Attributes

struct {
   float   x
 
   float   y
 
}; 
 
float data [2]
 

Detailed Description

Definition at line 42 of file base_types.hpp.


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