Skip to content

Commit

Permalink
Update docs/manual/03_modules/02_spatial/01_transforms.md
Browse files Browse the repository at this point in the history
  • Loading branch information
armando-salazar authored Jun 10, 2024
1 parent ce0b2ed commit 71de497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/manual/03_modules/02_spatial/01_transforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ There are two more properties, the `matrix` and `matrixWorld`, which are three.j

## Hierarchy

Our next component is the `EntityTreeComponent` which stores the parent/child relationships: a `parentEntity` entity and `children` array of entities. Changing either of these via setComponent will automatically update the parent and children entities to reflect this change.
Our next component is the `EntityTreeComponent` which stores the parent/child relationships: a `parentEntity` and `children` array of entities. Changing either of these via `setComponent` will automatically update the parent and children entities to reflect this change.

To optimize traditional hierarchy-based calculations, the `TransformSystem` automatically sorts a complete list of all spatial entities in order to utilize `bitecs`’ SoA CPU caching to allow the JavaScript engine to calculate matrices as fast as possible.

Expand Down

0 comments on commit 71de497

Please sign in to comment.