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

📄 unmatrix.h

📁 [Game.Programming].Academic - Graphics Gems (6 books source code)
💻 H
字号:
/* * unmatrix.h - Definitions for using unmatrix * * Author:	Spencer W. Thomas *		University of Michigan *//* The unmatrix subroutine fills in a vector of floating point * values.  These symbols make it easier to get the data back out. */enum unmatrix_indices { 	U_SCALEX, 	U_SCALEY, 	U_SCALEZ, 	U_SHEARXY, 	U_SHEARXZ, 	U_SHEARYZ, 	U_ROTATEX, 	U_ROTATEY, 	U_ROTATEZ, 	U_TRANSX, 	U_TRANSY, 	U_TRANSZ, 	U_PERSPX, 	U_PERSPY, 	U_PERSPZ, 	U_PERSPW};typedef struct {	double x,y,z,w;} Vector4;Matrix4 *TransposeMatrix4();Vector4 *V4MulPointByMatrix();

⌨️ 快捷键说明

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