@quenty/camera 5.2.0 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [5.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/camera@5.2.1...@quenty/camera@5.3.0) (2022-01-17)
7
+
8
+ **Note:** Version bump only for package @quenty/camera
9
+
10
+
11
+
12
+
13
+
14
+ ## [5.2.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/camera@5.2.0...@quenty/camera@5.2.1) (2022-01-16)
15
+
16
+ **Note:** Version bump only for package @quenty/camera
17
+
18
+
19
+
20
+
21
+
6
22
  # [5.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/camera@5.1.1...@quenty/camera@5.2.0) (2022-01-07)
7
23
 
8
24
  **Note:** Version bump only for package @quenty/camera
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/camera",
3
- "version": "5.2.0",
3
+ "version": "5.3.0",
4
4
  "description": "Quenty's camera system for Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,23 +25,23 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/acceltween": "^2.0.1",
29
- "@quenty/baseobject": "^3.4.0",
28
+ "@quenty/acceltween": "^2.1.0",
29
+ "@quenty/baseobject": "^3.5.0",
30
30
  "@quenty/cframeutils": "^2.0.1",
31
- "@quenty/cubicspline": "^3.4.0",
31
+ "@quenty/cubicspline": "^3.5.0",
32
32
  "@quenty/inputobjectutils": "^2.0.2",
33
- "@quenty/loader": "^3.3.0",
34
- "@quenty/maid": "^2.0.2",
33
+ "@quenty/loader": "^3.4.0",
34
+ "@quenty/maid": "^2.1.0",
35
35
  "@quenty/math": "^2.0.1",
36
- "@quenty/qframe": "^3.5.0",
37
- "@quenty/servicebag": "^3.4.0",
38
- "@quenty/spring": "^3.2.0"
36
+ "@quenty/qframe": "^3.6.0",
37
+ "@quenty/servicebag": "^3.5.0",
38
+ "@quenty/spring": "^3.3.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@quenty/camerastoryutils": "^3.5.0"
41
+ "@quenty/camerastoryutils": "^3.6.0"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "5a3f3fb6c908fd3874f5ceacc70b404780275119"
46
+ "gitHead": "c094ba8f4e128cdff08919d89de226d3d65247ce"
47
47
  }
@@ -14,10 +14,13 @@ LagPointCamera.ClassName = "LagPointCamera"
14
14
  LagPointCamera._FocusCamera = nil
15
15
  LagPointCamera._OriginCamera = nil
16
16
 
17
- --
18
- -- @constructor
19
- -- @param originCamera A camera to use
20
- -- @param focusCamera The Camera to look at.
17
+ --[=[
18
+ Camera that lags behind the actual camera.
19
+
20
+ @param originCamera CameraEffect -- A camera to use
21
+ @param focusCamera CameraEffect -- The Camera to look at.
22
+ @return LagPointCamera
23
+ ]=]
21
24
  function LagPointCamera.new(originCamera, focusCamera)
22
25
  local self = setmetatable({}, LagPointCamera)
23
26
 
@@ -39,7 +39,9 @@ function PushCamera:__add(other)
39
39
  return SummedCamera.new(self, other)
40
40
  end
41
41
 
42
- -- @param xzrotVector Vector2, the delta rotation to apply
42
+ --[=[
43
+ @param xzrotVector Vector2 -- The delta rotation to apply
44
+ ]=]
43
45
  function PushCamera:RotateXY(xzrotVector)
44
46
  self.AngleX = self.AngleX + xzrotVector.x
45
47
  self.AngleY = self.AngleY + xzrotVector.y
@@ -35,7 +35,9 @@ function RotatedCamera:__add(other)
35
35
  return SummedCamera.new(self, other)
36
36
  end
37
37
 
38
- -- @param xzrotvector Vector2, the delta rotation to apply
38
+ --[=[
39
+ @param xzrotvector Vector2 -- The delta rotation to apply
40
+ ]=]
39
41
  function RotatedCamera:RotateXY(xzrotvector)
40
42
  self.AngleX = self.AngleX + xzrotvector.x
41
43
  self.AngleY = self.AngleY + xzrotvector.y
@@ -35,7 +35,9 @@ function SmoothRotatedCamera:__add(other)
35
35
  return SummedCamera.new(self, other)
36
36
  end
37
37
 
38
- -- @param xyRotateVector Vector2, the delta rotation to apply
38
+ --[=[
39
+ @param xyRotateVector Vector2 -- The delta rotation to apply
40
+ ]=]
39
41
  function SmoothRotatedCamera:RotateXY(xyRotateVector)
40
42
  self.AngleX = self.AngleX + xyRotateVector.x
41
43
  self.AngleY = self.AngleY + xyRotateVector.y