Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/vec/vec3.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 vec3 {
    238        T x, y, z;
     
    2510}
    2611
    27 forall (T) {
     12forall (otype T) {
    2813    static inline {
    2914
     
    288273}
    289274
    290 forall(ostype &, T | writeable(T, ostype)) {
     275forall(dtype ostype, otype T | writeable(T, ostype)) {
    291276    ostype & ?|?(ostype & os, vec3(T) v) with (v) {
    292277        return os | '<' | x | ',' | y | ',' | z | '>';
Note: See TracChangeset for help on using the changeset viewer.