bitperm 0.1.0

Bit permutations and bit-packed polycube/grid structures in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use anyhow::Result;
use bitperm::BitCube4;
use flowscad::*;

fn main() -> Result<()> {
    let x: BitCube4 = 0x1003f.into();

    let result: D3 = x.rotate_y().into();

    println!("$fn=128;\n{}", &result);
    Ok(())
}