primitives::cuboid
Source
Module documentation for the Cuboid primitive.
This module provides a cuboid primitive with various constructors.
It includes constructors for creating a Cuboid from its size, corners, and length.
Examples
import primitives::cuboid;
fn main() {
// Create a cuboid from its size
let cuboid1 = cuboid::create(2.0, 3.0, 4.0);
}
Structs
Functions
-
-
from_corners cuboid_all_constructors
-
-
from_length cuboid_all_constructors && (magic_flag || magic_flag2)
-
from_size cuboid_all_constructors
Translate-time features
- cuboid_all_constructors
- magic_flag
- magic_flag2
- signed_int
Cuboid primitive