Added copyright statement to magicleap demo files

This commit is contained in:
Alan Jeffrey 2019-04-10 21:10:17 -05:00 committed by Josh Matthews
parent 1605a47956
commit 3603324437
7 changed files with 75 additions and 10 deletions

View File

@ -1,3 +1,15 @@
// pathfinder/demo/magicleap/src/c_api.rs
//
// Copyright © 2019 The Pathfinder Project Developers.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//! Bindings to the C MagicLeap API
#![allow(dead_code)]
use gl::types::GLuint;

View File

@ -1,3 +1,15 @@
// pathfinder/demo/magicleap/src/landscape.cpp
//
// Copyright © 2019 The Pathfinder Project Developers.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// A launcher for the ML1 pathfinder demo
#include <landscape.h>
#include <lumin/node/RootNode.h>
#include <lumin/node/QuadNode.h>

View File

@ -1,16 +1,21 @@
// %BANNER_BEGIN%
// ---------------------------------------------------------------------
// %COPYRIGHT_BEGIN%
// pathfinder/demo/magicleap/src/landscape.h
//
// Copyright © 2019 The Pathfinder Project Developers.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// A launcher for the ML1 pathfinder demo
// Based on code generated by the Magic Leap Lumin Runtime Editor.
// Original copyright:
// Copyright (c) 2018 Magic Leap, Inc. All Rights Reserved.
// Use of this file is governed by the Creator Agreement, located
// here: https://id.magicleap.com/creator-terms
//
// %COPYRIGHT_END%
// ---------------------------------------------------------------------
// %BANNER_END%
// %SRC_VERSION%: 1
#include <EGL/egl.h>
#include <lumin/LandscapeApp.h>

View File

@ -1,3 +1,15 @@
// pathfinder/demo/magicleap/src/lib.rs
//
// Copyright © 2019 The Pathfinder Project Developers.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//! A demo app for Pathfinder on ML1.
use crate::magicleap::MagicLeapLogger;
use crate::magicleap::MagicLeapWindow;

View File

@ -1,4 +1,4 @@
// pathfinder/demo/magicleap/magicleap.rs
// pathfinder/demo/magicleap/src/magicleap.rs
//
// Copyright © 2019 The Pathfinder Project Developers.
//

View File

@ -1,3 +1,15 @@
// pathfinder/demo/magicleap/src/main.cpp
//
// Copyright © 2019 The Pathfinder Project Developers.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// The immersive mode pathfinder magicleap demo
#include <stdio.h>
#include <stdlib.h>

View File

@ -1,3 +1,15 @@
// pathfinder/demo/magicleap/src/mocked_c_api.rs
//
// Copyright © 2019 The Pathfinder Project Developers.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//! A mocked Rust implementation of the Magic Leap C API, to allow it to build without the ML SDK
#![allow(unused_variables)]
#![allow(dead_code)]
#![allow(non_snake_case)]