{"provider_name":"Hatena Blog","blog_title":"Faith and Brave - C++\u3067\u904a\u307c\u3046","version":"1.0","type":"rich","title":" gl::DrawPrimitive\u6587","author_name":"faith_and_brave","blog_url":"https://faithandbrave.hateblo.jp/","image_url":null,"description":"\u3053\u308c\u306e\u898b\u305f\u76ee\u304c\u6c17\u306b\u5165\u3089\u306a\u304b\u3063\u305f\u306e\u3067 glBegin(GL_LINES); glVertex2d(0.0, 0.8); glVertex2d(1.0, 0.8); glEnd(); glFlush(); \u3053\u3046\u3044\u3046\u306e\u3092\u7528\u610f\u3057\u3066 namespace gl { struct DrawPrimitiveRange { DrawPrimitiveRange(GLenum mode) { ::glBegin(mode); } ~DrawPrimitiveRange() { ::glEnd(); ::glFlush(); } }; #define GL_DRAW_PRIMITIVE(__mode) \\ Dra\u2026","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20090108%2F1231403686\" title=\" gl::DrawPrimitive\u6587 - Faith and Brave - C++\u3067\u904a\u307c\u3046\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","author_url":"https://blog.hatena.ne.jp/faith_and_brave/","categories":["OpenGL"],"published":"2009-01-08 17:34:46","url":"https://faithandbrave.hateblo.jp/entry/20090108/1231403686","provider_url":"https://hatena.blog"}