////////////////////////////////////////////////////////
// filename: common.h
// author: Chafumi Touji
// version: 1.0.0
// date: 2020/03/05
////////////////////////////////////////////////////////

#ifndef __COMMON_H__
#define __COMMON_H__

struct float2{

	float x;
	float y;
};

struct float3{

	float x;
	float y;
	float z;
};

struct float4{

	float x;
	float y;
	float z;
	float w;
};

struct matrix{

	float m11, m12, m13, m14;
	float m21, m22, m23, m24;
	float m31, m32, m33, m34;
	float m41, m42, m43, m44;
};

float ToRadian(float angle);
float ToAngle(float radian);

#endif