Skip to content

Commit

Permalink
clean up css code
Browse files Browse the repository at this point in the history
  • Loading branch information
karliky committed Apr 26, 2020
1 parent 5e6773c commit b94ba2c
Show file tree
Hide file tree
Showing 10 changed files with 39 additions and 944 deletions.
2 changes: 1 addition & 1 deletion src/core/domain/setCameraView.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ function SetCameraView(Game, Memory, SetPosition) {
viewMatrixBuffer.writeFloatLE(viewMatrix[2][0], 0x18);
viewMatrixBuffer.writeFloatLE(viewMatrix[2][1], 0x1C);
viewMatrixBuffer.writeFloatLE(viewMatrix[2][2], 0x20);
Memory.writeData(Pointer + 0x14, viewMatrixBuffer, viewMatrixBuffer.byteLength);
if (Game.client === 'vanilla' || Game.client === 'alpha') {
SetPosition(Pointer, x, y, z);
} else {
SetPosition(CameraValuesPointer, x, y, z);
}
Memory.writeData(Pointer + 0x14, viewMatrixBuffer, viewMatrixBuffer.byteLength);
}
}

Expand Down
Loading

0 comments on commit b94ba2c

Please sign in to comment.