@vived/app 2.46.1 → 2.46.2
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Angle } from "./Angle";
|
|
2
2
|
import { Matrix } from "./Matrix";
|
|
3
3
|
import { Vector3 } from "./Vector3";
|
|
4
|
-
export interface
|
|
4
|
+
export interface QuaternionDTO {
|
|
5
5
|
x: number;
|
|
6
6
|
y: number;
|
|
7
7
|
z: number;
|
|
@@ -41,7 +41,7 @@ export declare class Quaternion {
|
|
|
41
41
|
* @param dto The Data Transfer Object
|
|
42
42
|
* @returns The Quaternion
|
|
43
43
|
*/
|
|
44
|
-
static FromDTO(dto:
|
|
44
|
+
static FromDTO(dto: QuaternionDTO): Quaternion;
|
|
45
45
|
/**
|
|
46
46
|
* Creates an Identity Quaternion
|
|
47
47
|
* @returns An Identity Quaternion
|
|
@@ -101,7 +101,7 @@ export declare class Quaternion {
|
|
|
101
101
|
/**
|
|
102
102
|
* Get the quaternion as a Data Transfer Object
|
|
103
103
|
*/
|
|
104
|
-
get dto():
|
|
104
|
+
get dto(): QuaternionDTO;
|
|
105
105
|
readonly x: number;
|
|
106
106
|
readonly y: number;
|
|
107
107
|
readonly z: number;
|