Skip to content

Commit

Permalink
I just had to include a copy paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
kinsi55 committed Sep 24, 2022
1 parent 04cf49e commit e6922f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Middlewares/Smoothfollow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,10 @@ float ClampAngle(float angle, float from, float to) {
E.x = ClampAngle(E.x, l.rot_x_min, l.rot_x_max);

if(!float.IsNegativeInfinity(l.rot_y_min) || !float.IsPositiveInfinity(l.rot_y_max))
E.x = ClampAngle(E.x, l.rot_y_min, l.rot_y_max);
E.y = ClampAngle(E.x, l.rot_y_min, l.rot_y_max);

if(!float.IsNegativeInfinity(l.rot_z_min) || !float.IsPositiveInfinity(l.rot_z_max))
E.x = ClampAngle(E.x, l.rot_z_min, l.rot_z_max);
E.z = ClampAngle(E.x, l.rot_z_min, l.rot_z_max);

targetRotation.eulerAngles = E;

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "Camera2",
"name": "Camera2",
"author": "Kinsi55",
"version": "0.6.96",
"version": "0.6.97",
"description": "If Camera Plus is so good, why is there no Camera Plus 2?",
"gameVersion": "1.20.0",
"dependsOn": {
Expand Down

0 comments on commit e6922f7

Please sign in to comment.