History

Miscellaneous fixes

David Rowe committed 8 years ago

Commit 58fa8b91 parent 0146eca1 file · +4 −4Browse files

Showing the changes to libraries/shared/src/PointerEvent.cpp (1 of 1 file). Show all

Unified · Split

libraries/shared/src/PointerEvent.cpp+4−4
@@ -72,8 +72,8 @@ void PointerEvent::setButton(Button button) { · 71 unmodified lines
7272 * <code>"Move"</code>.
7373 * @property {number} id - Integer number used to identify the pointer: <code>0</code> = hardware mouse, <code>1</code> = left
7474 * controller, <code>2</code> = right controller.
75− * @property {Vec2} pos2D - The 2D position of the event on the intersected overlay or entity XY plane.
76− * @property {Vec3} pos3D - The 3D position of the event on the intersected overlay or entity.
75+ * @property {Vec2} pos2D - The 2D position of the event on the intersected overlay or entity XY plane, where applicable.
76+ * @property {Vec3} pos3D - The 3D position of the event on the intersected overlay or entity, where applicable.
7777 * @property {Vec3} normal - The surface normal at the intersection point.
7878 * @property {Vec3} direction - The direction of the intersection ray.
7979 * @property {string} button - The name of the button pressed: <code>None</code>, <code>Primary</code>, <code>Secondary</code>,
@@ -96,8 +96,8 @@ void PointerEvent::setButton(Button button) { · 16 unmodified lines
9696 * <code>false</code>
9797 * @property {boolean} isTertiaryHeld - <code>true</code> if the tertiary button is currently being pressed, otherwise
9898 * <code>false</code>
99− * @property {KeyboardModifiers} keyboardModifiers - Integer value being and with bits set according to which keyboard modifier
100− * keys are were pressed when the event was generated.
99+ * @property {KeyboardModifiers} keyboardModifiers - Integer value with bits set according to which keyboard modifier keys were
100+ * pressed when the event was generated.
101101 */
102102 /**jsdoc
103103 * <p>A KeyboardModifiers value is used to specify which modifier keys on the keyboard are pressed. The value is the sum

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t