Changeset 250dbae for libcfa/src/vec/vec.hfa
- Timestamp:
- Dec 31, 2019, 12:19:53 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- f8a8fb1
- Parents:
- 94df8de
- git-author:
- Dmitry Kobets <dkobets@…> (12/31/19 12:13:34)
- git-committer:
- Dmitry Kobets <dkobets@…> (12/31/19 12:19:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/vec/vec.hfa
r94df8de r250dbae 74 74 } 75 75 76 77 76 forall(otype T, otype V | { T length(V); V ?/?(V, T); }) 78 77 V normalize(V v) { … … 114 113 // i is the incident vector 115 114 // ng is the geometric normal of the surface 116 /* forall(| add(T) | multiply(T) | lessthan(T) | fromint(T) | subtract(T)) */117 115 forall(otype T | lessthan(T) | zeroinit(T), otype V | dottable(V, T) | negate(V)) 118 116 V faceforward(V n, V i, V ng) {
Note: See TracChangeset
for help on using the changeset viewer.