@rbxts/types 1.0.744 → 1.0.745

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.
@@ -1393,6 +1393,12 @@ interface CFrameConstructor {
1393
1393
  * This function replaces the `CFrame.new(Vector3, Vector3)` constructor which accomplished a similar task. This function allows you to specify the `up` Vector, using the same default as the old constructor.
1394
1394
  */
1395
1395
  lookAt: (at: Vector3, lookAt: Vector3, up?: Vector3) => CFrame;
1396
+ /**
1397
+ * Returns a new CFrame with the position of `at` and facing along `direction`, optionally specifying the upward direction (`up`) with a default of `(0, 1, 0)`.
1398
+ *
1399
+ * This constructor is equivalent to `CFrame.lookAt(at, at + direction)`.
1400
+ */
1401
+ lookAlong: (at: Vector3, direction: Vector3, up?: Vector3) => CFrame;
1396
1402
  /** Creates a CFrame from a Vector3 */
1397
1403
  new (pos: Vector3): CFrame;
1398
1404
  /** Creates a CFrame from position (x, y, z). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.744",
3
+ "version": "1.0.745",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },