зеркало из https://github.com/mozilla/hubs.git
Cleanup
This commit is contained in:
Родитель
c2aa2f20f8
Коммит
dc93e27d37
|
@ -7,26 +7,8 @@ import {
|
||||||
RemoteHoverTarget,
|
RemoteHoverTarget,
|
||||||
NotRemoteHoverTarget,
|
NotRemoteHoverTarget,
|
||||||
RemoveNetworkedEntityButton
|
RemoveNetworkedEntityButton
|
||||||
|
|
||||||
// CursorRaycastable,
|
|
||||||
// HandCollisionTarget,
|
|
||||||
// Holdable,
|
|
||||||
// HoldableButton,
|
|
||||||
// HoverMenuChild,
|
|
||||||
// IgnoreSpaceBubble,
|
|
||||||
// Inspectable,
|
|
||||||
// NotRemoteHoverTarget,
|
|
||||||
// OffersHandConstraint,
|
|
||||||
// OffersRemoteConstraint,
|
|
||||||
// Pen,
|
|
||||||
// PreventAudioBoost,
|
|
||||||
// RemoteHoverTarget,
|
|
||||||
// SingleActionButton,
|
|
||||||
// Static,
|
|
||||||
// TogglesHoveredActionSet
|
|
||||||
} from "./bit-components";
|
} from "./bit-components";
|
||||||
|
|
||||||
//TODO JFS
|
|
||||||
[
|
[
|
||||||
["remote-right", RemoteRight],
|
["remote-right", RemoteRight],
|
||||||
["remote-left", RemoteLeft],
|
["remote-left", RemoteLeft],
|
||||||
|
@ -35,23 +17,6 @@ import {
|
||||||
["is-remote-hover-target", RemoteHoverTarget],
|
["is-remote-hover-target", RemoteHoverTarget],
|
||||||
["is-not-remote-hover-target", NotRemoteHoverTarget],
|
["is-not-remote-hover-target", NotRemoteHoverTarget],
|
||||||
["remove-networked-object-button", RemoveNetworkedEntityButton]
|
["remove-networked-object-button", RemoveNetworkedEntityButton]
|
||||||
|
|
||||||
// ["holdable", Holdable],
|
|
||||||
// ["offers-remote-constraint", OffersRemoteConstraint],
|
|
||||||
// ["hand-collision-target", HandCollisionTarget],
|
|
||||||
// ["offers-hand-constraint", OffersHandConstraint],
|
|
||||||
// ["toggles-hovered-action-set", TogglesHoveredActionSet],
|
|
||||||
// ["single-action-button", SingleActionButton],
|
|
||||||
// ["holdable-button", HoldableButton],
|
|
||||||
// ["pen", Pen],
|
|
||||||
// ["hover-menu-child", HoverMenuChild],
|
|
||||||
// ["static", Static],
|
|
||||||
// ["inspectable", Inspectable],
|
|
||||||
// ["prevent-audio-boost", PreventAudioBoost],
|
|
||||||
// ["ignore-space-boost", IgnoreSpaceBubble],
|
|
||||||
// ["not-remote-hover-target", NotRemoteHoverTarget],
|
|
||||||
// ["remote-hover-target", RemoteHoverTarget],
|
|
||||||
// ["cursor-raycastable", CursorRaycastable]
|
|
||||||
].forEach(([aframeComponentName, bitecsComponent]) => {
|
].forEach(([aframeComponentName, bitecsComponent]) => {
|
||||||
AFRAME.registerComponent(aframeComponentName, {
|
AFRAME.registerComponent(aframeComponentName, {
|
||||||
init: function() {
|
init: function() {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче