Ignore:
Timestamp:
Dec 13, 2019, 1:33:48 PM (3 years ago)
Author:
Dmitry Kobets <dkobets@…>
Branches:
arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
ae3db00
Parents:
5b24ee2
Message:

Add cross product test for vec3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/vector/vec3_float.cfa

    r5b24ee2 r7c94bae  
    6060    sout | "dot_2:" | dot(v1, v2);
    6161
     62    v2 = cross((vec3(float)){3,-3,1},(vec3(float)){4,9,2});
     63    sout | "cross:" | v2;
     64
    6265    v1 = (vec3(float)){1,2,3};
    6366    sout | "length:" | length(v1);
Note: See TracChangeset for help on using the changeset viewer.