1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/small3dlib.git synced 2024-11-21 20:39:57 +01:00
small3dlib/test.c

31 lines
367 B
C
Raw Normal View History

2018-11-21 16:46:01 +01:00
#include <stdio.h>
#define S3L_PIXEL_FUNCTION pixelFunc
#include "s3l.h"
void pixelFunc(S3L_PixelInfo *pixel)
{
}
int main()
{
S3L_Mat4 m;
S3L_Vec4 v;
S3L_initMat4(&m);
S3L_writeMat4(m);
S3L_initVec4(&v);
S3L_writeVec4(v);
S3L_vec4Xmat4(&v,&m);
S3L_writeVec4(v);
S3L_makeTranslationMat(100,200,300,&m);
S3L_writeMat4(m);
return 0;
}