File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -174,11 +174,18 @@ var Camera = new Class({
174174 */
175175 this . far = 100 ;
176176
177+ /**
178+ * @typedef {object } RayDef
179+ *
180+ * @property {Phaser.Math.Vector3 } origin - [description]
181+ * @property {Phaser.Math.Vector3 } direction - [description]
182+ */
183+
177184 /**
178185 * [description]
179186 *
180187 * @name Phaser.Cameras.Sprite3D#ray
181- * @type {{origin:Phaser.Math.Vector3,direction:Phaser.Math.Vector3} }
188+ * @type {RayDef }
182189 * @since 3.0.0
183190 */
184191 this . ray = {
@@ -774,7 +781,7 @@ var Camera = new Class({
774781 * @param {number } x - [description]
775782 * @param {number } [y] - [description]
776783 *
777- * @return {{origin:Phaser.Math.Vector3,direction:Phaser.Math.Vector3} } [description]
784+ * @return {RayDef } [description]
778785 */
779786 getPickRay : function ( x , y )
780787 {
You can’t perform that action at this time.
0 commit comments