mirror of
https://git.coom.tech/drummyfish/small3dlib.git
synced 2024-11-21 20:39:57 +01:00
30 lines
367 B
C
30 lines
367 B
C
#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;
|
|
}
|