Ignore:
File:
1 edited

Legend:

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

    rfd54fef r250dbae  
    1 //
    2 // Cforall Version 1.0.0 Copyright (C) 2021 University of Waterloo
    3 //
    4 // The contents of this file are covered under the licence agreement in the
    5 // file "LICENCE" distributed with Cforall.
    6 //
    7 // io/types.hfa --
    8 //
    9 // Author           : Dimitry Kobets
    10 // Created On       :
    11 // Last Modified By :
    12 // Last Modified On :
    13 // Update Count     :
    14 //
    15 
    161#pragma once
    172
     
    194#include "vec.hfa"
    205
    21 forall (T) {
     6forall (otype T) {
    227    struct vec4 {
    238        T x, y, z, w;
     
    2510}
    2611
    27 forall (T) {
     12forall (otype T) {
    2813    static inline {
    2914
     
    283268}
    284269
    285 forall(ostype &, T | writeable(T, ostype)) {
     270forall(dtype ostype, otype T | writeable(T, ostype)) {
    286271    ostype & ?|?(ostype & os, vec4(T) v) with (v) {
    287272        return os | '<' | x | ',' | y | ',' | z | ',' | w | '>';
Note: See TracChangeset for help on using the changeset viewer.