mirror of
https://github.com/laanwj/k210-sdk-stuff.git
synced 2024-11-22 09:26:21 +04:00
4f2c51e00d
By swapping the endian in RAMCTRL as well as in the SPI driver, the frame format can be coerced into the "normal" order of pixels in little endian, `0xBBBBAAAA` instead of `0xAAAABBBB`. This allows seamless casting from an array of `u16`. Accessing as 32-bit units might still be desirable for performance, but it is a lesser worry now. Note that a 32-bit alignment constraint still does hold for DMA. |
||
---|---|---|
.. | ||
data | ||
scripts | ||
src | ||
.gitignore | ||
Cargo.toml | ||
README.md |
voxel
Voxel-based landscape rendering.
Inspired by thie tweet: https://twitter.com/pimoroni/status/1215944540147851264 Based on Sebastian Macke's excellent examples in https://github.com/s-macke/VoxelSpace