Function glm::builtin::lessThan
[−]
[src]
pub fn lessThan<T: Primitive, B: GenBVec, V: VecRel<T, B>>(x: V, y: V) -> B
Returns the component-wise compare of x < y
.
Example
use glm::*; let a = ivec4(1, 2, 3, 4); let b = ivec4(2, 3, 4, 5); assert_eq!(lessThan(b, a), bvec4(false, false, false, false)); assert!(all(lessThan(a, b)));