From 83b552b622da561de047f798e5d50d59f724b1eb Mon Sep 17 00:00:00 2001 From: Julian T Date: Mon, 23 Mar 2020 16:55:45 +0100 Subject: No dynamic allocation --- vector.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vector.h') 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 -- cgit v1.2.3