|
| void | ggInit () |
| void | _ggError (const std::string &name="", unsigned int line=0) |
| void | _ggFBOError (const std::string &name="", unsigned int line=0) |
| void | ggCross (GLfloat *c, const GLfloat *a, const GLfloat *b) |
| GLfloat | ggDot3 (const GLfloat *a, const GLfloat *b) |
| GLfloat | ggLength3 (const GLfloat *a) |
| GLfloat | ggDistance3 (const GLfloat *a, const GLfloat *b) |
| void | ggNormalize3 (const GLfloat *a, GLfloat *b) |
| void | ggNormalize3 (GLfloat *a) |
| GLfloat | ggDot4 (const GLfloat *a, const GLfloat *b) |
| GLfloat | ggLength4 (const GLfloat *a) |
| GLfloat | ggDistance4 (const GLfloat *a, const GLfloat *b) |
| void | ggNormalize4 (const GLfloat *a, GLfloat *b) |
| void | ggNormalize4 (GLfloat *a) |
| const GgVector & | operator+ (const GgVector &v) |
| GgVector | operator+ (GLfloat a, const GgVector &b) |
| const GgVector | operator- (const GgVector &v) |
| GgVector | operator- (GLfloat a, const GgVector &b) |
| GgVector | operator* (GLfloat a, const GgVector &b) |
| GgVector | operator/ (GLfloat a, const GgVector &b) |
| GgVector | ggCross (const GgVector &a, const GgVector &b) |
| GLfloat | ggDot3 (const GgVector &a, const GgVector &b) |
| GLfloat | ggLength3 (const GgVector &a) |
| GLfloat | ggDistance3 (const GgVector &a, const GgVector &b) |
| GgVector | ggNormalize3 (const GgVector &a) |
| void | ggNormalize3 (GgVector *a) |
| GLfloat | ggDot4 (const GgVector &a, const GgVector &b) |
| GLfloat | ggLength4 (const GgVector &a) |
| GLfloat | ggDistance4 (const GgVector &a, const GgVector &b) |
| GgVector | ggNormalize4 (const GgVector &a) |
| void | ggNormalize4 (GgVector *a) |
| GgMatrix | ggIdentity () |
| GgMatrix | ggTranslate (GLfloat x, GLfloat y, GLfloat z, GLfloat w=1.0f) |
| GgMatrix | ggTranslate (const GLfloat *t) |
| GgMatrix | ggTranslate (const GgVector &t) |
| GgMatrix | ggScale (GLfloat x, GLfloat y, GLfloat z, GLfloat w=1.0f) |
| GgMatrix | ggScale (const GLfloat *s) |
| GgMatrix | ggScale (const GgVector &s) |
| GgMatrix | ggRotateX (GLfloat a) |
| GgMatrix | ggRotateY (GLfloat a) |
| GgMatrix | ggRotateZ (GLfloat a) |
| GgMatrix | ggRotate (GLfloat x, GLfloat y, GLfloat z, GLfloat a) |
| GgMatrix | ggRotate (const GLfloat *r, GLfloat a) |
| GgMatrix | ggRotate (const GgVector &r, GLfloat a) |
| GgMatrix | ggRotate (const GLfloat *r) |
| GgMatrix | ggRotate (const GgVector &r) |
| GgMatrix | ggLookat (GLfloat ex, GLfloat ey, GLfloat ez, GLfloat tx, GLfloat ty, GLfloat tz, GLfloat ux, GLfloat uy, GLfloat uz) |
| GgMatrix | ggLookat (const GLfloat *e, const GLfloat *t, const GLfloat *u) |
| GgMatrix | ggLookat (const GgVector &e, const GgVector &t, const GgVector &u) |
| GgMatrix | ggOrthogonal (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) |
| GgMatrix | ggFrustum (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) |
| GgMatrix | ggPerspective (GLfloat fovy, GLfloat aspect, GLfloat zNear, GLfloat zFar) |
| GgMatrix | ggTranspose (const GgMatrix &m) |
| GgMatrix | ggInvert (const GgMatrix &m) |
| GgMatrix | ggNormal (const GgMatrix &m) |
| GgQuaternion | ggIdentityQuaternion () |
| GgQuaternion | ggMatrixQuaternion (const GLfloat *a) |
| GgQuaternion | ggMatrixQuaternion (const GgMatrix &m) |
| GgMatrix | ggQuaternionMatrix (const GgQuaternion &q) |
| GgMatrix | ggQuaternionTransposeMatrix (const GgQuaternion &q) |
| GgQuaternion | ggRotateQuaternion (GLfloat x, GLfloat y, GLfloat z, GLfloat a) |
| GgQuaternion | ggRotateQuaternion (const GLfloat *v, GLfloat a) |
| GgQuaternion | ggRotateQuaternion (const GLfloat *v) |
| GgQuaternion | ggEulerQuaternion (GLfloat heading, GLfloat pitch, GLfloat roll) |
| GgQuaternion | ggEulerQuaternion (const GLfloat *e) |
| GgQuaternion | ggEulerQuaternion (const GgVector &e) |
| GgQuaternion | ggSlerp (const GLfloat *a, const GLfloat *b, GLfloat t) |
| GgQuaternion | ggSlerp (const GgQuaternion &q, const GgQuaternion &r, GLfloat t) |
| GgQuaternion | ggSlerp (const GgQuaternion &q, const GLfloat *a, GLfloat t) |
| GgQuaternion | ggSlerp (const GLfloat *a, const GgQuaternion &q, GLfloat t) |
| GLfloat | ggNorm (const GgQuaternion &q) |
| GgQuaternion | ggNormalize (const GgQuaternion &q) |
| GgQuaternion | ggConjugate (const GgQuaternion &q) |
| GgQuaternion | ggInvert (const GgQuaternion &q) |
| bool | ggSaveTga (const std::string &name, const void *buffer, unsigned int width, unsigned int height, unsigned int depth) |
| bool | ggSaveColor (const std::string &name) |
| bool | ggSaveDepth (const std::string &name) |
| bool | ggReadImage (const std::string &name, std::vector< GLubyte > &image, GLsizei *pWidth, GLsizei *pHeight, GLenum *pFormat) |
| GLuint | ggLoadTexture (const GLvoid *image, GLsizei width, GLsizei height, GLenum format=GL_RGB, GLenum type=GL_UNSIGNED_BYTE, GLenum internal=GL_RGB, GLenum wrap=GL_CLAMP_TO_EDGE, bool swizzle=false) |
| GLuint | ggLoadImage (const std::string &name, GLsizei *pWidth=nullptr, GLsizei *pHeight=nullptr, GLenum internal=GL_RGBA, GLenum wrap=GL_CLAMP_TO_EDGE) |
| void | ggCreateNormalMap (const GLubyte *hmap, GLsizei width, GLsizei height, GLenum format, GLfloat nz, GLenum internal, std::vector< GgVector > &nmap) |
| GLuint | ggLoadHeight (const std::string &name, GLfloat nz, GLsizei *pWidth=nullptr, GLsizei *pHeight=nullptr, GLenum internal=GL_RGBA) |
| GLuint | ggCreateShader (const std::string &vsrc, const std::string &fsrc="", const std::string &gsrc="", GLint nvarying=0, const char *const *varyings=nullptr, const std::string &vtext="vertex shader", const std::string &ftext="fragment shader", const std::string >ext="geometry shader") |
| GLuint | ggLoadShader (const std::string &vert, const std::string &frag="", const std::string &geom="", GLint nvarying=0, const char *const *varyings=nullptr) |
| GLuint | ggLoadShader (const std::array< std::string, 3 > &files, GLint nvarying=0, const char *const *varyings=nullptr) |
| GLuint | ggCreateComputeShader (const std::string &csrc, const std::string &ctext="compute shader") |
| GLuint | ggLoadComputeShader (const std::string &comp) |
| std::shared_ptr< GgPoints > | ggPointsCube (GLsizei countv, GLfloat length=1.0f, GLfloat cx=0.0f, GLfloat cy=0.0f, GLfloat cz=0.0f) |
| std::shared_ptr< GgPoints > | ggPointsSphere (GLsizei countv, GLfloat radius=0.5f, GLfloat cx=0.0f, GLfloat cy=0.0f, GLfloat cz=0.0f) |
| std::shared_ptr< GgTriangles > | ggRectangle (GLfloat width=1.0f, GLfloat height=1.0f) |
| std::shared_ptr< GgTriangles > | ggEllipse (GLfloat width=1.0f, GLfloat height=1.0f, GLuint slices=16) |
| std::shared_ptr< GgTriangles > | ggArraysObj (const std::string &name, bool normalize=false) |
| std::shared_ptr< GgElements > | ggElementsObj (const std::string &name, bool normalize=false) |
| std::shared_ptr< GgElements > | ggElementsMesh (GLuint slices, GLuint stacks, const GLfloat(*pos)[3], const GLfloat(*norm)[3]=nullptr) |
| std::shared_ptr< GgElements > | ggElementsSphere (GLfloat radius=1.0f, int slices=16, int stacks=8) |
| bool | ggLoadSimpleObj (const std::string &name, std::vector< std::array< GLuint, 3 > > &group, std::vector< GgSimpleShader::Material > &material, std::vector< GgVertex > &vert, bool normalize=false) |
| bool | ggLoadSimpleObj (const std::string &name, std::vector< std::array< GLuint, 3 > > &group, std::vector< GgSimpleShader::Material > &material, std::vector< GgVertex > &vert, std::vector< GLuint > &face, bool normalize=false) |
ゲームグラフィックス特論の宿題用補助プログラムの名前空間