cursor rotation work
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
This commit is contained in:
parent
62b6c16573
commit
1ee23aa115
@ -1861,6 +1861,7 @@ Filter room solver to only include rooms that are enter-able
|
||||
Solve for furniture placement inside rectangular rooms
|
||||
Visualize furniture placement slots
|
||||
AssetDataStrings work
|
||||
Invert rotation calculation for fab cursor
|
||||
|
||||
|
||||
|
||||
|
||||
@ -434,8 +434,8 @@ public class CursorState {
|
||||
*/
|
||||
public static Quaterniond getBlockRotation(int rotationVal){
|
||||
int tempVal = rotationVal;
|
||||
int xRotation = tempVal & 0x3;
|
||||
int yRotation = tempVal >> 2 & 0x3;
|
||||
int yRotation = tempVal & 0x3;
|
||||
int xRotation = tempVal >> 2 & 0x3;
|
||||
Quaterniond rotations = new Quaterniond();
|
||||
double xRot = 0;
|
||||
double yRot = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user