aboutsummaryrefslogtreecommitdiff
path: root/vector.h
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-03-23 16:55:45 +0100
committerJulian T <julian@jtle.dk>2020-03-23 16:55:45 +0100
commit83b552b622da561de047f798e5d50d59f724b1eb (patch)
tree5255a785b05aba1f4894062c8576bec15d6d3411 /vector.h
parent8fc5b36510c5964873d88069b61b558bc3ef23f6 (diff)
No dynamic allocation
Diffstat (limited to 'vector.h')
-rw-r--r--vector.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/vector.h b/vector.h
index e794f05..81b5df1 100644
--- a/vector.h
+++ b/vector.h
@@ -11,10 +11,9 @@ typedef struct {
} vector_t;
// Set vector to specified coordinates
-// If p is NULL it is created
vector_t *vector_set(vector_t *p, COORD_T x, COORD_T y, COORD_T z);
-// Copy vector src. If dest is NULL a vector is allocated
+// Copy vector src
vector_t *vector_copy(vector_t *dest, vector_t *src);
// Calculate the length of v