<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>E_Mattsan</author_name>
  <author_url>https://blog.hatena.ne.jp/E_Mattsan/</author_url>
  <blog_title>エンジニアのソフトウェア的愛情</blog_title>
  <blog_url>https://blog.emattsan.org/</blog_url>
  <categories>
    <anon>Lua</anon>
    <anon>OpenGL</anon>
  </categories>
  <description>以前C++で書いたコードをLuaを使って実現させてみた。学習中ということもありかなり力わざでどうにかしています。 まず、GLUTをLuaから扱えるようするコードを書きます。 今回はこころみということで、イベントは表示とキー入力とタイマだけ、表示できるのはラインだけにしてます。 #include &quot;lua.h&quot; #include &quot;lauxlib.h&quot; #include &lt;GLUT/glut.h&gt; #include &lt;stdlib.h&gt; static lua_State *G_L; static int interval = 200; static int width = 320; static…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.emattsan.org%2Fentry%2F20100106%2F1262737962&quot; title=&quot;LuaとGLUTをつなげてみる - エンジニアのソフトウェア的愛情&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/E/E_Mattsan/20100106/20100106092734.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-01-06 09:32:42</published>
  <title>LuaとGLUTをつなげてみる</title>
  <type>rich</type>
  <url>https://blog.emattsan.org/entry/20100106/1262737962</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
