Changeset 7c94bae
- Timestamp:
- Dec 13, 2019, 1:33:48 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- ae3db00
- Parents:
- 5b24ee2
- Location:
- tests/vector
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/vector/.expect/vec3_float.txt
r5b24ee2 r7c94bae 18 18 dot_1:0. 19 19 dot_2:37.8 20 cross:<-15.,-2.,39.> 20 21 length:3.74166 21 22 length_squared:14. -
tests/vector/vec3_float.cfa
r5b24ee2 r7c94bae 60 60 sout | "dot_2:" | dot(v1, v2); 61 61 62 v2 = cross((vec3(float)){3,-3,1},(vec3(float)){4,9,2}); 63 sout | "cross:" | v2; 64 62 65 v1 = (vec3(float)){1,2,3}; 63 66 sout | "length:" | length(v1);
Note: See TracChangeset
for help on using the changeset viewer.