Changeset 9ec35db


Ignore:
Timestamp:
Nov 25, 2019, 10:22:08 AM (2 years ago)
Author:
Dmitry Kobets <dkobets@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
1dd929e
Parents:
1188195
Message:

Add vec3_float tests

Files:
7 added
6 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • tests/vector/vec2_float.cfa

    r1188195 r9ec35db  
    8181
    8282    v2 = (vec2(float)){0,-1};
    83     sout | "refract:" | refract(v1,v2,1);
    84     sout | "refract:" | refract(v1,v2,1.f/1.33f);
     83    sout | "refract:" | refract(v1,normalize(v2),1);
     84    sout | "refract:" | refract(v1,normalize(v2),1.f/1.33f);
    8585
    8686    vec2(float) geometric_normal = {5,6};
Note: See TracChangeset for help on using the changeset viewer.