New structure definition: 2D Double Vector

This commit is contained in:
VegOwOtenks 2025-03-01 22:32:30 +01:00
parent d044cb1567
commit e8bea8924b
2 changed files with 49 additions and 0 deletions

21
src/Vector/Vec2DF64.c Normal file
View file

@ -0,0 +1,21 @@
/*
* This code is part of the C library utilitiec
* utilitiec comes with ABSOLUTELY NO WARRANTY and is licensed under GPL-2.0.
* Copyright (C) 2025 VegOwOtenks
*
* 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 the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "Vec2DF64.h"

28
src/Vector/Vec2DF64.h Normal file
View file

@ -0,0 +1,28 @@
/*
* This code is part of the C library utilitiec
* utilitiec comes with ABSOLUTELY NO WARRANTY and is licensed under GPL-2.0.
* Copyright (C) 2025 VegOwOtenks
*
* 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 the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef UTILITIEC_VEC2DF64_H
#define UTILITIEC_VEC2DF64_H
typedef struct Vec2DF64_s {
double x;
double y;
} Vec2DF64;
#endif