Home Examples Installation Documentation Contact Help

less

Specification

Location Author Maintained by
isl/math/vector3.py Kenny Erleben DIKU

Purpose & Params

A less function for 3d vectors.Testing if a

:param 1 name: Is a flat ```numpy``` array of size 3
:param 2 name: Is a flat ```numpy``` array of size 3
:return: boolean  

Example

    test_vec_1 = vec3.make(1,2,3)
    test_vec_2 = vec3.make(0,0,0)
    vec3.less(test_vec_2, test_vec_1)

output:

    true