ultraviolet:适用于游戏和图形的宽线性代数板条箱-源码

上传者: 42128988 | 上传时间: 2021-03-19 10:11:10 | 文件大小: 68KB | 文件类型: ZIP
ultraviolet 这对于计算机图形学和游戏相关的线性和几何代数而言是一个箱子,但是在生产率和运行时性能方面都非常快。 就生产率而言,紫外线不使用任何泛型,并且被设计为尽可能简单地实现界面,从而缩短了编译时间并提供了清晰的代码。另外,缺少泛型和Rust类型系统的“ hacks”会导致清晰明了的错误,易于用户解析和修复。 在运行时性能方面,紫外线从一开始就设计时就考虑到了性能。为此,我们为每种类型提供两种独立的类型,每种具有几乎相同的功能,一种具有通常的标量f32值,另一种是“宽”类型,其为每个值使用SIMD f32x4向量。这种设计的意图是明确而明确的,并且还允许代码充分​​利用SIMD。 “宽”类型使用“ SoA”(阵列结构)体系结构,这样每个宽数据结构实际上都包含其关联数据类型的4或8个数据,并且将对所有simd“通道”进行任何操作。同时。例如,一个Vec3x8相当于将8个Vec

文件下载

资源详情

[{"title":"( 32 个子文件 68KB ) ultraviolet:适用于游戏和图形的宽线性代数板条箱-源码","children":[{"title":"ultraviolet-main","children":[{"title":"docs","children":[{"title":"rotor3_mul_vec3.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":".github","children":[{"title":"FUNDING.yml <span style='color:#111;'> 74B </span>","children":null,"spread":false},{"title":"workflows","children":[{"title":"ci.yaml <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"util.rs <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"transform.rs <span style='color:#111;'> 13.34KB </span>","children":null,"spread":false},{"title":"impl_bytemuck.rs <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false},{"title":"projection.rs <span style='color:#111;'> 513B </span>","children":null,"spread":false},{"title":"interp.rs <span style='color:#111;'> 8.78KB </span>","children":null,"spread":false},{"title":"rotor.rs <span style='color:#111;'> 30.08KB </span>","children":null,"spread":false},{"title":"mat.rs <span style='color:#111;'> 64.94KB </span>","children":null,"spread":false},{"title":"bivec.rs <span style='color:#111;'> 18.40KB </span>","children":null,"spread":false},{"title":"lib.rs <span style='color:#111;'> 6.24KB </span>","children":null,"spread":false},{"title":"projection","children":[{"title":"lh_ydown.rs <span style='color:#111;'> 14.31KB </span>","children":null,"spread":false},{"title":"rh_yup.rs <span style='color:#111;'> 14.59KB </span>","children":null,"spread":false},{"title":"rh_ydown.rs <span style='color:#111;'> 14.33KB </span>","children":null,"spread":false},{"title":"lh_yup.rs <span style='color:#111;'> 14.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"impl_serde.rs <span style='color:#111;'> 52.54KB </span>","children":null,"spread":false},{"title":"int.rs <span style='color:#111;'> 42.08KB </span>","children":null,"spread":false},{"title":"impl_mint.rs <span style='color:#111;'> 4.01KB </span>","children":null,"spread":false},{"title":"vec","children":[{"title":"mod.rs <span style='color:#111;'> 149B </span>","children":null,"spread":false},{"title":"vec2.rs <span style='color:#111;'> 22.46KB </span>","children":null,"spread":false},{"title":"vec3.rs <span style='color:#111;'> 26.02KB </span>","children":null,"spread":false},{"title":"vec4.rs <span style='color:#111;'> 23.34KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"Cargo.toml <span style='color:#111;'> 677B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 39B </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"release.toml <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 17.35KB </span>","children":null,"spread":false},{"title":"derivations","children":[{"title":"rotor3_rotate_vec_derivation.txt <span style='color:#111;'> 4.16KB </span>","children":null,"spread":false},{"title":"rotor2_rotate_vec_derivation.txt <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"rotor3_rotate_rotor_derivation.txt <span style='color:#111;'> 5.30KB </span>","children":null,"spread":false},{"title":"rotor2_rotate_rotor_derivation.txt <span style='color:#111;'> 924B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明