Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor documentation fixes #364

Merged
merged 1 commit into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading