|
| pathString | Utf8ToTChar (const std::string &string) |
| std::string | TCharToUtf8 (const pathString &cstring) |
| void | gg::ggInit () |
| void | gg::_ggError (const std::string &name="", unsigned int line=0) |
| void | gg::_ggFBOError (const std::string &name="", unsigned int line=0) |
| void | gg::ggCross (GLfloat *c, const GLfloat *a, const GLfloat *b) |
| GLfloat | gg::ggDot3 (const GLfloat *a, const GLfloat *b) |
| GLfloat | gg::ggLength3 (const GLfloat *a) |
| GLfloat | gg::ggDistance3 (const GLfloat *a, const GLfloat *b) |
| void | gg::ggNormalize3 (const GLfloat *a, GLfloat *b) |
| void | gg::ggNormalize3 (GLfloat *a) |
| GLfloat | gg::ggDot4 (const GLfloat *a, const GLfloat *b) |
| GLfloat | gg::ggLength4 (const GLfloat *a) |
| GLfloat | gg::ggDistance4 (const GLfloat *a, const GLfloat *b) |
| void | gg::ggNormalize4 (const GLfloat *a, GLfloat *b) |
| void | gg::ggNormalize4 (GLfloat *a) |
| const GgVector & | gg::operator+ (const GgVector &v) |
| GgVector | gg::operator+ (GLfloat a, const GgVector &b) |
| const GgVector | gg::operator- (const GgVector &v) |
| GgVector | gg::operator- (GLfloat a, const GgVector &b) |
| GgVector | gg::operator* (GLfloat a, const GgVector &b) |
| GgVector | gg::operator/ (GLfloat a, const GgVector &b) |
| GgVector | gg::ggCross (const GgVector &a, const GgVector &b) |
| GLfloat | gg::ggDot3 (const GgVector &a, const GgVector &b) |
| GLfloat | gg::ggLength3 (const GgVector &a) |
| GLfloat | gg::ggDistance3 (const GgVector &a, const GgVector &b) |
| GgVector | gg::ggNormalize3 (const GgVector &a) |
| void | gg::ggNormalize3 (GgVector *a) |
| GLfloat | gg::ggDot4 (const GgVector &a, const GgVector &b) |
| GLfloat | gg::ggLength4 (const GgVector &a) |
| GLfloat | gg::ggDistance4 (const GgVector &a, const GgVector &b) |
| GgVector | gg::ggNormalize4 (const GgVector &a) |
| void | gg::ggNormalize4 (GgVector *a) |
| GgMatrix | gg::ggIdentity () |
| GgMatrix | gg::ggTranslate (GLfloat x, GLfloat y, GLfloat z, GLfloat w=1.0f) |
| GgMatrix | gg::ggTranslate (const GLfloat *t) |
| GgMatrix | gg::ggTranslate (const GgVector &t) |
| GgMatrix | gg::ggScale (GLfloat x, GLfloat y, GLfloat z, GLfloat w=1.0f) |
| GgMatrix | gg::ggScale (const GLfloat *s) |
| GgMatrix | gg::ggScale (const GgVector &s) |
| GgMatrix | gg::ggRotateX (GLfloat a) |
| GgMatrix | gg::ggRotateY (GLfloat a) |
| GgMatrix | gg::ggRotateZ (GLfloat a) |
| GgMatrix | gg::ggRotate (GLfloat x, GLfloat y, GLfloat z, GLfloat a) |
| GgMatrix | gg::ggRotate (const GLfloat *r, GLfloat a) |
| GgMatrix | gg::ggRotate (const GgVector &r, GLfloat a) |
| GgMatrix | gg::ggRotate (const GLfloat *r) |
| GgMatrix | gg::ggRotate (const GgVector &r) |
| GgMatrix | gg::ggLookat (GLfloat ex, GLfloat ey, GLfloat ez, GLfloat tx, GLfloat ty, GLfloat tz, GLfloat ux, GLfloat uy, GLfloat uz) |
| GgMatrix | gg::ggLookat (const GLfloat *e, const GLfloat *t, const GLfloat *u) |
| GgMatrix | gg::ggLookat (const GgVector &e, const GgVector &t, const GgVector &u) |
| GgMatrix | gg::ggOrthogonal (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) |
| GgMatrix | gg::ggFrustum (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) |
| GgMatrix | gg::ggPerspective (GLfloat fovy, GLfloat aspect, GLfloat zNear, GLfloat zFar) |
| GgMatrix | gg::ggTranspose (const GgMatrix &m) |
| GgMatrix | gg::ggInvert (const GgMatrix &m) |
| GgMatrix | gg::ggNormal (const GgMatrix &m) |
| GgQuaternion | gg::ggIdentityQuaternion () |
| GgQuaternion | gg::ggMatrixQuaternion (const GLfloat *a) |
| GgQuaternion | gg::ggMatrixQuaternion (const GgMatrix &m) |
| GgMatrix | gg::ggQuaternionMatrix (const GgQuaternion &q) |
| GgMatrix | gg::ggQuaternionTransposeMatrix (const GgQuaternion &q) |
| GgQuaternion | gg::ggRotateQuaternion (GLfloat x, GLfloat y, GLfloat z, GLfloat a) |
| GgQuaternion | gg::ggRotateQuaternion (const GLfloat *v, GLfloat a) |
| GgQuaternion | gg::ggRotateQuaternion (const GLfloat *v) |
| GgQuaternion | gg::ggEulerQuaternion (GLfloat heading, GLfloat pitch, GLfloat roll) |
| GgQuaternion | gg::ggEulerQuaternion (const GLfloat *e) |
| GgQuaternion | gg::ggEulerQuaternion (const GgVector &e) |
| GgQuaternion | gg::ggSlerp (const GLfloat *a, const GLfloat *b, GLfloat t) |
| GgQuaternion | gg::ggSlerp (const GgQuaternion &q, const GgQuaternion &r, GLfloat t) |
| GgQuaternion | gg::ggSlerp (const GgQuaternion &q, const GLfloat *a, GLfloat t) |
| GgQuaternion | gg::ggSlerp (const GLfloat *a, const GgQuaternion &q, GLfloat t) |
| GLfloat | gg::ggNorm (const GgQuaternion &q) |
| GgQuaternion | gg::ggNormalize (const GgQuaternion &q) |
| GgQuaternion | gg::ggConjugate (const GgQuaternion &q) |
| GgQuaternion | gg::ggInvert (const GgQuaternion &q) |
| bool | gg::ggSaveTga (const std::string &name, const void *buffer, unsigned int width, unsigned int height, unsigned int depth) |
| bool | gg::ggSaveColor (const std::string &name) |
| bool | gg::ggSaveDepth (const std::string &name) |
| bool | gg::ggReadImage (const std::string &name, std::vector< GLubyte > &image, GLsizei *pWidth, GLsizei *pHeight, GLenum *pFormat) |
| GLuint | gg::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 | gg::ggLoadImage (const std::string &name, GLsizei *pWidth=nullptr, GLsizei *pHeight=nullptr, GLenum internal=GL_RGBA, GLenum wrap=GL_CLAMP_TO_EDGE) |
| void | gg::ggCreateNormalMap (const GLubyte *hmap, GLsizei width, GLsizei height, GLenum format, GLfloat nz, GLenum internal, std::vector< GgVector > &nmap) |
| GLuint | gg::ggLoadHeight (const std::string &name, GLfloat nz, GLsizei *pWidth=nullptr, GLsizei *pHeight=nullptr, GLenum internal=GL_RGBA) |
| GLuint | gg::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 | gg::ggLoadShader (const std::string &vert, const std::string &frag="", const std::string &geom="", GLint nvarying=0, const char *const *varyings=nullptr) |
| GLuint | gg::ggLoadShader (const std::array< std::string, 3 > &files, GLint nvarying=0, const char *const *varyings=nullptr) |
| GLuint | gg::ggCreateComputeShader (const std::string &csrc, const std::string &ctext="compute shader") |
| GLuint | gg::ggLoadComputeShader (const std::string &comp) |
| std::shared_ptr< GgPoints > | gg::ggPointsCube (GLsizei countv, GLfloat length=1.0f, GLfloat cx=0.0f, GLfloat cy=0.0f, GLfloat cz=0.0f) |
| std::shared_ptr< GgPoints > | gg::ggPointsSphere (GLsizei countv, GLfloat radius=0.5f, GLfloat cx=0.0f, GLfloat cy=0.0f, GLfloat cz=0.0f) |
| std::shared_ptr< GgTriangles > | gg::ggRectangle (GLfloat width=1.0f, GLfloat height=1.0f) |
| std::shared_ptr< GgTriangles > | gg::ggEllipse (GLfloat width=1.0f, GLfloat height=1.0f, GLuint slices=16) |
| std::shared_ptr< GgTriangles > | gg::ggArraysObj (const std::string &name, bool normalize=false) |
| std::shared_ptr< GgElements > | gg::ggElementsObj (const std::string &name, bool normalize=false) |
| std::shared_ptr< GgElements > | gg::ggElementsMesh (GLuint slices, GLuint stacks, const GLfloat(*pos)[3], const GLfloat(*norm)[3]=nullptr) |
| std::shared_ptr< GgElements > | gg::ggElementsSphere (GLfloat radius=1.0f, int slices=16, int stacks=8) |
| bool | gg::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 | gg::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) |
ゲームグラフィックス特論の宿題用補助プログラム GLFW3 版の宣言.
- 著者
- Kohe Tokoi
- 日付
- July 17, 2025
gg.h に定義があります。