Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • TestProject TestProject
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Kramer
  • TestProjectTestProject
  • Merge requests
  • !4

Update public/index.html

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Kramer requested to merge 11krlu1mma-master-patch-19849 into master 2 years ago
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Creating XRSession.

  • Kramer @11krlu1mma merged 2 years ago

    merged

  • Kramer @11krlu1mma mentioned in commit 181fea17 2 years ago

    mentioned in commit 181fea17

  • Loading
  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Compare
  • master (base)

and
  • latest version
    71a7729c
    1 commit, 2 years ago

1 file
+ 10
- 0

    Preferences

    File browser
    Compare changes
public/index.html
+ 10
- 0
  • View file @ 71a7729c

  • Edit in single-file editor

  • Open in Web IDE


@@ -53,6 +53,16 @@ renderer.autoClear = false;
const camera = new THREE.PerspectiveCamera();
camera.matrixAutoUpdate = false;
// Initialize a WebXR session using "immersive-ar".
const session = await navigator.xr.requestSession("immersive-ar");
session.updateRenderState({
baseLayer: new XRWebGLLayer(session, gl)
});
// A 'local' reference space has a native origin that is located
// near the viewer's position at the time the session was created.
const referenceSpace = await session.requestReferenceSpace('local');
}
</script>
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
1
1 participant
Kramer
Reference: 11krlu1mma/testproject!4
Source branch: 11krlu1mma-master-patch-19849

Menu

Explore Projects Groups Snippets

Dies ist die Gitlab-Instanz des Transferportals der Hochschule für Technik Stuttgart. Hier geht es zurück zum Portal