Textfield time

This commit is contained in:
2024-10-20 00:46:44 +02:00
parent 3d98ba0023
commit 89c95c0656
6 changed files with 253 additions and 77 deletions

View File

@@ -67,6 +67,10 @@ translate :: (transform: *Transform, translation: Vector3, calculate_matrix: boo
if calculate_matrix update_matrix(transform);
}
euler_to_quaternion :: (value: Vector3) -> Quaternion {
return euler_to_quaternion(value.x, value.y, value.z);
}
euler_to_quaternion :: (yaw: float, pitch: float, roll: float) -> Quaternion {
cy := cos(yaw * 0.5);
sy := sin(yaw * 0.5);