==========================================================================
The irrDrawStuff Library, Copyright (C) 2010 Kosei Demura
Developed by Kosei Demura, Kazuma Hosokawa
Web : http://demura.net

This library is free software; you can redistribute it and/or
modify it under the terms of EITHER:
  (1) The GNU Lesser General Public License as published by the Free
      Software Foundation; either version 2.1 of the License, or (at
      your option) any later version.
  (2) The BSD-style license that is included with this library in
      the file LICENSE BSD.txt. This library is distributed in the
      hope that it will be useful,
      but WITHOUT ANY WARRANTY; 
      without even the implied warranty of
      MERCHANTABILITY or FITNESS
      FOR A PARTICULAR PURPOSE.
==============================================================================

irrDrawstuffはODE付属の3D描画ライブラリであるDrawstuffの上位互換ライブラリである。
Drawstuffは画像が美しく使いやすいライブラリであるが、ウインドウに文字が表示できず、
3Dモデルファイルを読む込む機能がないため本格的なシミュレータ開発には適していない。
　
そこで、Drawstuffの不足している機能を追加し、なおかつ、Drawstuffを利用して開発した
過去のソフトウェア資産を無駄にしないようにその上位互換ライブラリを拡張する。

なお、ライブラリの開発には3D描画ライブラリであるThe Irrlicht Engineを使用している。


<機能>
* 既存のODEプログラムの描画
* 文字の表示（追加機能）例 bounce.cpp


<インストール法>
  http://demura.net参照

<使用方法>
* ソースコードの中で以下のようにdrawstuff.hの代わりにirrdrawstuff.hをインクルードする。
  // #include <drawstuff/drawstuff.h> この行をコメントアウトする
　#include <irrdrawstuff.h>　// この行を追加


<新API>
* 文字の表示　diPrint
  void diPrintf(int y,int x,const char *text,...);
  void diPrintf(int y,int x,const char *font,int color,const char*text,...);
    y: 表示位置縦方向．ウインドウの左隅から下方向へのピクセル数
    x: 表示位置横方向．ウインドウの左隅から右下方向へのピクセル数
　　text: 表示する文字列とその書式．C言語のprintfと同じ形式
　　color: 色　#aarrbbgg,  aは透明度, r, g, bは赤，緑，青成分, aからgは0からfまでの値を取る　　


