⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ballmath.h

📁 [Game.Programming].Academic - Graphics Gems (6 books source code)
💻 H
字号:
/***** BallMath.h - Essential routines for Arcball.  *****/#ifndef _H_BallMath#define _H_BallMath#include "BallAux.h"HVect MouseOnSphere(HVect mouse, HVect ballCenter, double ballRadius);HVect ConstrainToAxis(HVect loose, HVect axis);int NearestConstraintAxis(HVect loose, HVect *axes, int nAxes);Quat Qt_FromBallPoints(HVect from, HVect to);void Qt_ToBallPoints(Quat q, HVect *arcFrom, HVect *arcTo);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -