diff Renderer/Engine/sys.cc @ 1047:f87218eed9fc draft

broken texure ( h/w != 2^n ) protection
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 08 Dec 2010 05:38:45 +0900
parents 24054155368c
children 5e62924bd7d9
line wrap: on
line diff
--- a/Renderer/Engine/sys.cc	Wed Dec 08 02:41:36 2010 +0900
+++ b/Renderer/Engine/sys.cc	Wed Dec 08 05:38:45 2010 +0900
@@ -146,7 +146,12 @@
     }
 }
 
-void get_matrix( float *matrix, float *rxyz, float *txyz, float *stack)
+/**
+       stack 上の変換行列に、相対的に、rxyz の回転、txyz の平行移動を
+       行ったものを matrix に代入する
+ */
+void
+get_matrix( float *matrix, float *rxyz, float *txyz, float *stack)
 {
   float radx,rady,radz;
   radx = rxyz[0]*3.14/180;