Last change
on this file since 1f11818 was
aefb247,
checked in by Thierry Delisle <tdelisle@…>, 5 years ago
|
Changed vector tests to properly refer to vecX.hfa like normal language headers
|
-
Property mode set to
100644
|
File size:
326 bytes
|
Rev | Line | |
---|
[aefb247] | 1 | #include <vec/vec2.hfa> |
---|
[1188195] | 2 | #include <fstream.hfa> |
---|
| 3 | #include <limits.hfa> |
---|
| 4 | |
---|
| 5 | int main(void) { |
---|
| 6 | vec2(long double) v1 = {(long double)MAX,(long double)MIN}; |
---|
| 7 | sout | "ctor(x,y):" | v1; |
---|
| 8 | |
---|
| 9 | vec2(long double) v2 = {3.4144423, -1.2342315}; |
---|
| 10 | vec2(long double) v3 = {100.23125123, 14.23}; |
---|
| 11 | sout | "dot(v2,v3):" | dot(v2, v3); |
---|
| 12 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.