Changes in libcfa/src/vec/vec4.hfa [fd54fef:250dbae]
- File:
-
- 1 edited
-
libcfa/src/vec/vec4.hfa (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/vec/vec4.hfa
rfd54fef r250dbae 1 //2 // Cforall Version 1.0.0 Copyright (C) 2021 University of Waterloo3 //4 // The contents of this file are covered under the licence agreement in the5 // file "LICENCE" distributed with Cforall.6 //7 // io/types.hfa --8 //9 // Author : Dimitry Kobets10 // Created On :11 // Last Modified By :12 // Last Modified On :13 // Update Count :14 //15 16 1 #pragma once 17 2 … … 19 4 #include "vec.hfa" 20 5 21 forall ( T) {6 forall (otype T) { 22 7 struct vec4 { 23 8 T x, y, z, w; … … 25 10 } 26 11 27 forall ( T) {12 forall (otype T) { 28 13 static inline { 29 14 … … 283 268 } 284 269 285 forall( ostype &,T | writeable(T, ostype)) {270 forall(dtype ostype, otype T | writeable(T, ostype)) { 286 271 ostype & ?|?(ostype & os, vec4(T) v) with (v) { 287 272 return os | '<' | x | ',' | y | ',' | z | ',' | w | '>';
Note:
See TracChangeset
for help on using the changeset viewer.