aboutsummaryrefslogtreecommitdiff
path: root/src/buffer.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2024-05-18 15:05:15 +0200
committereug-vs <eugene@eug-vs.xyz>2024-05-18 15:12:10 +0200
commitabf95a0423c26e12b91d9bb67a333abb822fa2e6 (patch)
tree41ea14b0f1de3704800c52278b4b311fa71e2680 /src/buffer.rs
parentec90992002d5370348c5a72d3faf45303f29c400 (diff)
downloadpistol-abf95a0423c26e12b91d9bb67a333abb822fa2e6.tar.gz
feat: parallelize ray marching
Diffstat (limited to 'src/buffer.rs')
-rw-r--r--src/buffer.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buffer.rs b/src/buffer.rs
index a2c5708..61b3374 100644
--- a/src/buffer.rs
+++ b/src/buffer.rs
@@ -10,7 +10,9 @@ impl Buffer {
Self {
height,
width: height * aspect_ratio,
- palette: "$@B%8&WM#oahkbdpqwmZO0QLCJUYXzcvunxrjft/\\|()1{}[]?-_+~<>i!lI;:,\"^`'. ".chars().collect(),
+ palette: "$@B%8&WM#oahkbdpqwmZO0QLCJUYXzcvunxrjft/\\|()1{}[]?-_+~<>i!lI;:,\"^`'. "
+ .chars()
+ .collect(),
}
}
}