1
0
Fork 0
2018-soft-3d-renderer/include/transform.h

18 lines
412 B
C
Raw Normal View History

#ifndef TRANSFORM_H
#include "matrix.h"
Matrix Transform_Translate(float x, float y, float z);
Matrix Transform_Rotate(float x, float y, float z);
Matrix Transform_Scale(float s);
Matrix Transform_View(Point &position, float rotation[]);
Matrix Transform_Perspective(float zoomX, float zoomY, float nearClip, float farClip);
Matrix Transform_Screen(float xScale, float yScale);
#define TRANSFORM_H
#endif