// Returns the translated vertex position for the block with
// lower left back corner at orig.
Returns the translated vertex position for the block with
lower left back corner at orig.
Returns the translated vertex position for the block with lower left back corner at orig .
fn translate3<T>(orig: [T; 3], factors: (T, T, T)) -> [T; 3]
where
    T: Add<Output = T> + Copy,
{
    [
        factors.0 + orig[0],
        factors.1 + orig[1],
        factors.2 + orig[2],
    ]
}
fn translate3 < T > ( orig : [ T ; 3 ] , factors : ( T , T , T ) ) -> [ T ; 3 ] where T : Add < Output = T > + Copy , { [ factors . 0 + orig [ 0 ] , factors . 1 + orig [ 1 ] , factors . 2 + orig [ 2 ] , ] }
Returns the translated vertex position for the block with
lower left back corner at orig.
Returns the translated vertex position for the block with lower left back corner at orig .
orig
[T; 3]
factors
(T, T, T)