
数学相关
文章平均质量分 50
Tangyongkang
这个作者很懒,什么都没留下…
展开
-
关于四元数的介绍
关于四元数的介绍 http://caterpillar.onlyfun.net/Gossip/ComputerGraphics/QuaternionsRotate.htm原创 2010-03-14 20:46:00 · 763 阅读 · 0 评论 -
坐标旋转变换公式的推导
翻译自: http://www.metro-hs.ac.jp/rs/sinohara/zahyou_rot/zahyou_rotate.htm翻译: 汤 永康出处: http://blog.youkuaiyun.com/tangyongkang转贴请注明出处1 围绕原点的旋转如下图, 在2维坐标上,有一点p(x, y) , 直线opの长度为r, 直线op和x轴的正向的夹角为a。 直线op翻译 2010-04-14 13:00:00 · 71584 阅读 · 8 评论 -
用 Scilab 计算OpenGL 的旋转矩阵
Scilab (http://www.scilab.org/) 是一款免费的,类似于Matlab的软件。进行矩阵运算的时候比较方便。 OpenGl的三维坐标系中, 分别绕 x, y, z 三坐标轴旋转xAngle, yAngle, zAngle之后的旋转矩阵,可以用下列公式计算。 function [ glRotateMatrix ] = glRotateMatrix(原创 2010-04-22 22:12:00 · 1871 阅读 · 0 评论 -
couting transitive relation
<br /> <br />一个计算Transitive relation个数的程序。<br />目前,只能计算到1--5.<br />等有空了,对程序扩充。<br /> <br /> <br />#include<stdio.h><br />#include<stdlib.h><br />#include<string.h><br /><br />int checkTransitive(int num, int* bit, int nSize)<br />{<br /> for(i原创 2010-12-09 12:39:00 · 868 阅读 · 0 评论