nodesystem/include/node2d.h

19 lines
330 B
C

#include"node.h"
#include"types.h"
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#define _NOD_2D_TYPE "NODE_2D"
typedef struct node_2d{
NOD_Node node;
vector2Di pos;
} NOD_Node2D;
NOD_Node2D *NOD_CreateNode2D(char *name);
void NOD_DestroyNode2D(NOD_Node *node);
vector2Di NOD_GetAbsPosNode2D(NOD_Node2D *node);