Lumino
ln::Point Struct Reference

2次元上の点を表します。 More...

#include <GeometryStructs.hpp>

Public Member Functions

 Point ()
 すべての要素を 0 で初期化します。
 
 Point (float x_, float y_)
 位置を指定して初期化します。
 
 Point (const Vector2 &v)
 位置を指定して初期化します。
 
void set (float x_, float y_)
 各要素の値を設定します。
 
void get (float *outX, float *outY) const
 各要素の値を取得します。
 
bool isZero () const
 要素がすべて 0 であるかを判定します。
 

Public Attributes

float x
 X 座標
 
float y
 Y 座標
 

Static Public Attributes

static const Point Zero
 (0, 0)
 

Detailed Description

2次元上の点を表します。


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