Changes in libcfa/src/vec/vec3.hfa [fd54fef:250dbae]
- File:
-
- 1 edited
-
libcfa/src/vec/vec3.hfa (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/vec/vec3.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 vec3 { 23 8 T x, y, z; … … 25 10 } 26 11 27 forall ( T) {12 forall (otype T) { 28 13 static inline { 29 14 … … 288 273 } 289 274 290 forall( ostype &,T | writeable(T, ostype)) {275 forall(dtype ostype, otype T | writeable(T, ostype)) { 291 276 ostype & ?|?(ostype & os, vec3(T) v) with (v) { 292 277 return os | '<' | x | ',' | y | ',' | z | '>';
Note:
See TracChangeset
for help on using the changeset viewer.