1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2024-12-22 23:26:27 +02:00

cameo/path.c (path_from), path.h: make public, for future sharing

This commit is contained in:
Werner Almesberger 2015-09-28 09:56:22 -03:00
parent 4153e6b4e2
commit 445d8f7205
2 changed files with 4 additions and 3 deletions

View File

@ -57,7 +57,7 @@ struct path *path_new(double r_tool, const char *id)
}
static struct path *path_from(const struct path *old)
struct path *path_from(const struct path *old)
{
struct path *new;

View File

@ -1,8 +1,8 @@
/*
* path.h - Toolpath operations
*
* Written 2010-2012 by Werner Almesberger
* Copyright 2010-2012 Werner Almesberger
* Written 2010-2012, 2015 by Werner Almesberger
* Copyright 2010-2012, 2015 Werner Almesberger
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -51,6 +51,7 @@ static inline int points_eq(const struct point *a, const struct point *b)
struct path *path_new(double r_tool, const char *id);
struct path *path_from(const struct path *old);
void path_add(struct path *path, double x, double y, double z);
struct path *path_reverse(const struct path *path);
struct path *path_clone(const struct path *path);