Search found 2 matches
- Wed Jul 24, 2024 10:04 am
- Forum: Akashic Records
- Topic: Cuboids [1.19.2]
- Replies: 1
- Views: 8381
Re: Cuboids [1.19.2]
Spaced Cuboid Point Ex. // get a point in a cuboid corresponding to the certain i value where 0 <= i <= (2g+1)^3-1. any i outside that is undefined behavior // offset is a vector offset in each axis #define Spaced Cuboid Point Ex. = c, g, i, offset -> vec { // c, g, i, offset Huginn's Sandbox // c,...
- Wed Jul 24, 2024 9:35 am
- Forum: Akashic Records
- Topic: Cuboids [1.19.2]
- Replies: 1
- Views: 8381
Cuboids [1.19.2]
I have been tinkering with a pattern to get every point in a cube around a center vec. This was a pretty cursed endeavor since the scaling iteration required easily exceeds the meta-eval cap. Alas, cuboids were in my sights no matter what. This was until I found a way to mathematically get a point o...