Changeset 5454d77 for libcfa/src/vec


Ignore:
Timestamp:
Jul 18, 2023, 12:22:32 PM (2 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
c635047, db94b5d
Parents:
94d2544
Message:

update types to use new void-creation stream macros

Location:
libcfa/src/vec
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/vec/vec2.hfa

    r94d2544 r5454d77  
    283283        return os | '<' | x | ',' | y | '>';
    284284    }
    285     void ?|?(ostype & os, vec2(T) v ) with (v) {
    286         (ostype &)(os | v); ends(os);
    287     }
     285        OSTYPE_VOID_IMPL( vec2(T) )
    288286}
  • libcfa/src/vec/vec3.hfa

    r94d2544 r5454d77  
    292292        return os | '<' | x | ',' | y | ',' | z | '>';
    293293    }
    294     void ?|?(ostype & os, vec3(T) v ) with (v) {
    295         (ostype &)(os | v); ends(os);
    296     }
     294        OSTYPE_VOID_IMPL( vec3(T) )
    297295}
  • libcfa/src/vec/vec4.hfa

    r94d2544 r5454d77  
    287287        return os | '<' | x | ',' | y | ',' | z | ',' | w | '>';
    288288    }
    289     void ?|?(ostype & os, vec4(T) v ) with (v) {
    290         (ostype &)(os | v); ends(os);
    291     }
     289        OSTYPE_VOID_IMPL( vec4(T) )
    292290}
    293291
Note: See TracChangeset for help on using the changeset viewer.