Changeset 0856a96


Ignore:
Timestamp:
Nov 11, 2019, 2:41:41 PM (2 years ago)
Author:
Dmitry Kobets <dkobets@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
1188195
Parents:
af0bf71
git-author:
Dmitry Kobets <dkobets@…> (10/14/19 18:30:52)
git-committer:
Dmitry Kobets <dkobets@…> (11/11/19 14:41:41)
Message:

Add unit tests for vec2

Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/vector.hfa

    raf0bf71 r0856a96  
    1111// Constructors
    1212
    13 void ?{}( vec2 & v, float x, float y) {
     13void ?{}(vec2& v, float x, float y) {
    1414    v.[x, y] = [x, y];
    1515}
     
    2727void ?=?(vec2& vec, const vec2& other) with (vec) {
    2828    [x,y] = other.[x,y];
     29}
     30void ?=?(vec2& vec, zero_t) with (vec) {
     31    [x,y] = [0,0];
    2932}
    3033
Note: See TracChangeset for help on using the changeset viewer.