-
- tracy ray
```rust
pub fn tracy_ray(&self, ray: &Ray) -> cgmath::Vector3 {
let hit = self.find_closest_collision(ray);
let mut color = cgmath::vec3(0.0, 0.0, 0.0);
…
-
I believe that cgmath went in the wrong direction lately. It got more traits to consider that are not as much graphics related as they are purely mathematical (`EuclideanSpace`, `InnerSpace`, etc). I …
kvark updated
5 years ago
-
https://www.grayolson.me/blog/posts/ultraviolet-0.4/
> a crate to do computer-graphics and games-related linear algebra, but fast, both in terms of productivity and in terms of runtime performance. I…
-
The view proj matrices in the course don't provide far clipping. Projecting a point at dist = far_plane returns 0.33.
After comparing with [wgpu examples](https://github.com/gfx-rs/wgpu/blob/trunk/…
-
The new cgmath has some nice helpers added.
The CHANGELOG.md specifies a breaking change however: https://github.com/rustgd/cgmath/blob/master/CHANGELOG.md
> Breaking: Quaternion memory layout c…
-
error[E0034]: multiple applicable items in scope
--> hello_gl\src\main.rs:29:16
|
29 | let tran = Matrix4::one();
| ^^^^^^^^^^^^ multiple `one` found
|
= note: c…
-
I have racer mainly working now but I can't get it to complete fields within a struct or methods for that struct. When I try and complete structs from a crate ("cgmath::" then autocomplete) that seems…
-
I like the idea of docs.rs/vek, but docs.rs/cgmath seems to be the standard. I'd like to list:
- Requirements of the math we'll need
- List of rust math crates and what features they offer
- Pick a…
-
This is possibly more of a question. Would it be of any interest to the users of cgmath to have more fine grained trait bounds on methods from std::ops to eliminate the need to add BaseNum or BaseFloa…
elrnv updated
4 years ago
-
cgmath uses OpenGL's coordinate system conventions for the projection matrices.
This means that the projection matrices generated by cgmath need to be modified (see: [the new Vulkan coordinate system…
dthul updated
5 years ago