<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>osyo-manga</author_name>
  <author_url>https://blog.hatena.ne.jp/osyo-manga/</author_url>
  <blog_title>C++でゲームプログラミング</blog_title>
  <blog_url>https://osyo-manga.hatenadiary.org/</blog_url>
  <categories>
    <anon>OpenGL</anon>
  </categories>
  <description>文字列の描画って普通にできたんですね…知りませんでした。 [コード] void render_string(float x, float y, std::string const&amp; str){ float z = -1.0f; glRasterPos3f(x, y, z); boost::for_each(str, [&amp;](char c){ glutBitmapCharacter(GLUT_BITMAP_HELVETICA_18, c); }); } // 文字列の描画 render_string(0.0f, 0.0f, &quot;hogehoge&quot;); [出力] [参照] http://wiki.l…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fosyo-manga.hatenadiary.org%2Fentry%2F20110827%2F1314417606&quot; title=&quot;glut で、文字列の描画 - C++でゲームプログラミング&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/o/osyo-manga/20110827/20110827125855.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-08-27 13:00:06</published>
  <title>glut で、文字列の描画</title>
  <type>rich</type>
  <url>https://osyo-manga.hatenadiary.org/entry/20110827/1314417606</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
