Skip to content

Commit

Permalink
Minor documentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
madd-games authored and guillaumechereau committed Mar 20, 2024
1 parent a24d97d commit 1823f36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions INTERNALS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ implement a copy on write mechanism with references counting, so that it is
very fast to copy blocks, the actual data (`block_data_t`) is copied only when
we make change to a block.

Several blocks together form a mesh (`mesh_t`), the meshes also use a copy on
write mechanism to make copy basically free.
Several blocks together form a volume (`volume_t`), the volumes also use a copy
on write mechanism to make copy basically free.

An `image_t` contains several `layer_t`, which is basically a mesh plus a few
An `image_t` contains several `layer_t`, which is basically a volume plus a few
attributes. The image also keeps snapshots of the layers at every changes for
undo history (since we use copy on write on individual blocks, this does not
require much memory).

The basic function to operate on a mesh is `mesh_op`, we give it a `painter_t`
pointer that defines the operation: shape, color, mode, etc.
The basic function to operate on a volume is `volume_op`, we give it a
`painter_t` pointer that defines the operation: shape, color, mode, etc.

All the rendering functions are differed. The `render_xxx` calls just build a
list of operations, that is executed when we call `render_render`.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Goxel
=====

Version 0.12.0
Version 0.14.0

By Guillaume Chereau <guillaume@noctua-software.com>

Expand Down

0 comments on commit 1823f36

Please sign in to comment.