mirror of
https://gitlab.com/octospacc/BloccSpacc
synced 2025-06-05 21:39:15 +02:00
Proper frametimes handling
This commit is contained in:
@ -10,8 +10,7 @@ struct xyz {
|
||||
int x, y, z;
|
||||
};
|
||||
|
||||
/*** Thanks to <https://gist.github.com/jordwest/8a12196436ebcf8df98a2745251915b5> for the maths! ***/
|
||||
|
||||
// <https://gist.github.com/jordwest/8a12196436ebcf8df98a2745251915b5>
|
||||
struct xyz OrthoToIso ( int x, int y, int z, int Multiply ) {
|
||||
struct xyz xyz;
|
||||
xyz.x = x * 1 * 0.5 * Multiply + z * -1 * 0.5 * Multiply;
|
||||
@ -20,5 +19,3 @@ struct xyz OrthoToIso ( int x, int y, int z, int Multiply ) {
|
||||
return xyz;
|
||||
}
|
||||
|
||||
/*** ******************************************************************************************** ***/
|
||||
|
||||
|
Reference in New Issue
Block a user