Function graphics::math::cross
[−]
[src]
pub fn cross<T>(a: [T; 2], b: [T; 2]) -> T where T: Copy + Mul<T, Output=T> + Sub<T, Output=T>
Computes the cross product.
pub fn cross<T>(a: [T; 2], b: [T; 2]) -> T where T: Copy + Mul<T, Output=T> + Sub<T, Output=T>
Computes the cross product.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).