aboutsummaryrefslogtreecommitdiffstats
path: root/vectest.c
blob: 042bc289ba023f5a5c751484e17839bcebaa1913 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>
#include <stdlib.h>
#include <vecmat/vec.h>

int main(int argc, char **argv)
{
    Vec *v = vec_new(123, 12.1, 45);
    char *s = malloc(50);
    vec_tostring(s, v);
    printf(s);
}