5 #if !defined( __VBOBYSCREEN_H__)
6 #define __VBOBYSCREEN_H__
34 void convert2NormalizedWorld(
41 void convert2NormalizedWorld(
49 float getWidth()
const{
return m_widthHalf*2.f;};
52 void set_viewport(
const int vport[4]);
60 void Vertex(
const int v[2]);
64 void Vertex(
float x,
float y,
float z=0.0f);
65 void Vertex3d(
double x,
double y,
double z=0.0);
80 #endif //__VBOBYSCREEN_H__
float getHeight() const
Definition: VBOByScreen.h:48
virtual void Vertex3d(double x, double y, double z=0.0)
float getWidth() const
Definition: VBOByScreen.h:49
Represent a positional data.
Definition: Position.h:28
mgVBOByScreen is a VBO to draw pictures in screen coordinates of a constant z value.
Definition: VBOByScreen.h:26
virtual void Vertex(const MGPosition &v)
頂点の座標値を指定する
mgVBOByScreen(float z=-1.f)
construct given z(in NDC).
Definition: VBOByScreen.h:31
float m_z
Definition: VBOByScreen.h:75
float m_widthHalf
Definition: VBOByScreen.h:74
virtual void Vertex2fv(const float v[2])
void set_ZValue(float z)
Definition: VBOByScreen.h:57
OpenGL 4 用描画のためのクラス, in other words, display list.
Definition: VBO.h:76
virtual void Vertex2dv(const double v[2])
virtual void Vertex3dv(const double v[3])
Definition: glslprogram.h:48
float m_centerY
Viewport data of the screen.
Definition: VBOByScreen.h:73
virtual void Vertex3fv(const float v[3])