Skip to content

Commit e440e03

Browse files
committed
added billboard matrices, better comment s
1 parent cbf2c19 commit e440e03

File tree

6 files changed

+549
-16
lines changed

6 files changed

+549
-16
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ This module implements essential data structures for 3D environments, including
44

55
It efficiently computes:
66
- Rotation matrices/quaternions for any XYZ-order Euler angles.
7+
- Billboard matrices both fixed axis-rotation and spherical.
78
- Transformation matrices for scaling, rotation (Euler angles), and translation.
89
- Transformation matrices from rotation matrices or quaternions.
910
- View matrices.

example/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
This code structure is based on the [webgl2examples](https://github.com/tsherif/webgl2examples) repository, specifically from the `cube.html` file.
44

5-
This example can run without a localhost environment by converting texture images into base64 data URIs. These URIs are loaded dynamically using an `img` element and the `onload()` event.
5+
This example can run without a localhost environment by converting texture images into base64 data URIs. These URIs are loaded dynamically using an `img` element and the `onload()` event;
6+
the same applies to the wasm binaries.
67

78
While using `fetch()` would provide a cleaner solution, this method is necessary for proper functionality when running as a local `.html` file.
89

example/js/main.js

Lines changed: 4 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/src/BufferModule_def.ts

Lines changed: 22 additions & 4 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)