Skip to content

Commit

Permalink
Merge pull request #18 from BratishkaErik/generic-vector-2
Browse files Browse the repository at this point in the history
Generic vector + SIMD operations on them
  • Loading branch information
kooparse authored Jan 14, 2022
2 parents bacfe18 + a109bd6 commit 714586c
Show file tree
Hide file tree
Showing 8 changed files with 835 additions and 1,278 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub fn main () void {
var projection = za.perspective(45.0, 800.0 / 600.0, 0.1, 100.0);
var view = za.lookAt(Vec3.new(0.0, 0.0, -3.), Vec3.zero(), Vec3.up());
var model = Mat4.fromTranslate(Vec3.new(0.2, 0.5, 0.0));
var mvp = Mat4.mult(projection, view.mult(model));
}
```
Expand Down
Loading

0 comments on commit 714586c

Please sign in to comment.