Just a header file containing structs and constants etc. that are used across my libraries. Prevents multiple declarations.
Utils.cpp@3:930ff1d43de4, 2015-06-20 (annotated)
- Committer:
- eencae
- Date:
- Sat Jun 20 14:26:35 2015 +0000
- Revision:
- 3:930ff1d43de4
- Parent:
- 1:4d64faffb516
Added documentation.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
eencae | 1:4d64faffb516 | 1 | #include "Utils.h" |
eencae | 1:4d64faffb516 | 2 | |
eencae | 1:4d64faffb516 | 3 | vector_t create_vector(float x,float y,float z) { |
eencae | 1:4d64faffb516 | 4 | |
eencae | 1:4d64faffb516 | 5 | vector_t v = {x,y,z}; |
eencae | 1:4d64faffb516 | 6 | |
eencae | 1:4d64faffb516 | 7 | return v; |
eencae | 1:4d64faffb516 | 8 | } |