Changes in libcfa/src/vec/vec4.hfa [250dbae:fd54fef]
- File:
-
- 1 edited
-
libcfa/src/vec/vec4.hfa (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/vec/vec4.hfa
r250dbae rfd54fef 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 1 16 #pragma once 2 17 … … 4 19 #include "vec.hfa" 5 20 6 forall ( otypeT) {21 forall (T) { 7 22 struct vec4 { 8 23 T x, y, z, w; … … 10 25 } 11 26 12 forall ( otypeT) {27 forall (T) { 13 28 static inline { 14 29 … … 268 283 } 269 284 270 forall( dtype ostype, otypeT | writeable(T, ostype)) {285 forall(ostype &, T | writeable(T, ostype)) { 271 286 ostype & ?|?(ostype & os, vec4(T) v) with (v) { 272 287 return os | '<' | x | ',' | y | ',' | z | ',' | w | '>';
Note:
See TracChangeset
for help on using the changeset viewer.