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

📄 matrix.h

📁 游戏编程精粹,对刚入门的游戏开发者很有帮助
💻 H
字号:
/////////////////////////////////////////////////////////////////////////////////// Matrix.h//// Demonstrates template metaprogramming for matrix operations//// Defines the following template functions, where MtxType is the matrix// type (e.g. matrix33) and N is the matrix size.////    IdentityMtxT( MtxType, Mtx, N )              make Mtx the identity matrix//    InitMtxT    ( MtxType, Mtx, N, F, Init )     initialize Mtx with Init//    TransMtxT   ( MtxType, Mtx, N )              transpose Mtx//    MultMtxT    ( MtxType, r, a, b, N )          compute r = a * b//// Copyright 

⌨️ 快捷键说明

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