资 源 简 介
# **[2013-07-15] Moved to [GitHub](https://github.com/vaiorabbit/rmath3d).** #
# Summary #
A math module for 3D game programming and computer graphics.
# Features #
## Supports frequently-used vector and matrix classes ##
* RMtx3 (3x3 matrix)
* RMtx4 (4x4 matrix)
* RQuat (Quaternion)
* RVec3 (3 element vector)
* RVec4 (4 element vector)
## Two implementations that are interchangeable with each other ##
1. RMath.so : Ruby extension library for faster execution.
1. RMath.rb : Ruby implemantation for debugging use.
# Building RMath.so #
## For mkmf users ##
> $ ruby extconf.rb
> $ make
For Windows users, type commands below via the "Visual Studio 200{5|8}
Command Prompt". This process requires "cl.exe", "link.exe and
"mt.exe" to be exist in the program PATH:
> X:> ruby extconf.rb
> X:> nmake
You might encounter the "MSC version unmatch: _MSC\_VER: XXXX is
expected." error at the time compiling "WrapRMath.c". See the
instruction in the extconf.rb to avoid thi