This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QuoraTest = function() {}; | |
QuoraTest.prototype.SIZE = 0.5; | |
QuoraTest.prototype.SHELLS = 10; | |
QuoraTest.prototype.NAME = "QuoraTest"; | |
QuoraTest.prototype.POSITION = { x: 512, y: 512.5, z: 518 }; | |
QuoraTest.prototype.COLOR = { red: 220, green: 220, blue: 220 }; | |
QuoraTest.prototype.USER_DATA = { | |
ProceduralEntity: { | |
version: 2, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef OCULUSGLWIDGET_H | |
#define OCULUSGLWIDGET_H | |
#include <QOpenGLFunctions> | |
#include <QGLWidget> | |
#include <QGLFramebufferObject> | |
#include <Extras/OVR_Math.h> | |
#include <OVR_CAPI_GL.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// planets.js | |
// | |
// Created by Philip Rosedale on January 26, 2015 | |
// Copyright 2015 High Fidelity, Inc. | |
// | |
// Some planets are created in front of you. A physical object shot or thrown between them will move | |
// correctly. | |
// | |
// Distributed under the Apache License, Version 2.0. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct FramebufferWraper { | |
glm::uvec2 size; | |
GLuint fbo{ 0 }; | |
GLuint color{ 0 }; | |
GLuint depth{ 0 }; | |
virtual ~FramebufferWraper() { | |
release(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.BorderLayout; | |
import java.awt.Dimension; | |
import java.awt.Font; | |
import java.time.Duration; | |
import java.time.LocalDate; | |
import java.time.LocalDateTime; | |
import java.time.LocalTime; | |
import java.time.temporal.ChronoUnit; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.ScheduledExecutorService; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1>------ Build started: Project: ExampleCommon, Configuration: Debug Win32 ------ | |
1> Microsoft (R) C/C++ Optimizing Compiler Version 18.00.31101 for x86 | |
1> Copyright (C) Microsoft Corporation. All rights reserved. | |
1> | |
1> cl /c /IC:\Users\bdavis\Git\OculusRiftExamples\build32\examples\cpp\common /IC:\Users\bdavis\Git\OculusRiftExamples\examples\cpp\common /I"C:\dev\opencv-2.4.9\build\include" /I"C:\dev\opencv-2.4.9\build\include\opencv" /Ic:\Qt\Qt5.4.0\5.4\msvc2013_opengl\include /Ic:\Qt\Qt5.4.0\5.4\msvc2013_opengl\include\QtCore /I"c:\Qt\Qt5.4.0\5.4\msvc2013_opengl\mkspecs\win32-msvc2013" /Ic:\Qt\Qt5.4.0\5.4\msvc2013_opengl\include\QtWidgets /Ic:\Qt\Qt5.4.0\5.4\msvc2013_opengl\include\QtGui /Ic:\Qt\Qt5.4.0\5.4\msvc2013_opengl\include\QtQuickWidgets /Ic:\Qt\Qt5.4.0\5.4\msvc2013_opengl\include\QtQuick /Ic:\Qt\Qt5.4.0\5.4\msvc2013_opengl\include\QtQml /Ic:\Qt\Qt5.4.0\5.4\msvc2013_opengl\include\QtNetwork /Ic:\Qt\Qt5.4.0\5.4\msvc2013_opengl\include\QtOpenGL /Ic:\Qt\Qt5.4.0\5.4\msvc2013_opengl\include\QtXml / |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1>------ Build started: Project: Example_2_4_HelloRift, Configuration: Debug Win32 ------ | |
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(388,5): warning MSB8028: The intermediate directory (Example_2_4_HelloRift.dir\Debug\) contains files shared from another project (Example_2_4_HelloRift.vcxproj, Example_2_4_HelloRift.vcxproj). This can lead to incorrect clean and rebuild behavior. | |
1> Microsoft (R) C/C++ Optimizing Compiler Version 18.00.31101 for x86 | |
1> Copyright (C) Microsoft Corporation. All rights reserved. | |
1> | |
1> cl /c /IC:\Users\bdavis\Git\OculusRiftExamples\build32\examples\cpp /IC:\Users\bdavis\Git\OculusRiftExamples\examples\cpp /I"C:\dev\opencv-2.4.9\build\include" /I"C:\dev\opencv-2.4.9\build\include\opencv" /Ic:\Qt\Qt5.4.0\5.4\msvc2013_opengl\include /Ic:\Qt\Qt5.4.0\5.4\msvc2013_opengl\include\QtCore /I"c:\Qt\Qt5.4.0\5.4\msvc2013_opengl\mkspecs\win32-msvc2013" /Ic:\Qt\Qt5.4.0\5.4\msvc2013_opengl\include\QtWidgets /Ic:\Qt\Qt5.4.0\5.4\msvc2013_opengl\inclu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************************************ | |
Authors : Bradley Austin Davis <[email protected]> | |
Copyright : Copyright Brad Davis. All Rights reserved. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.saintandreas.vr; | |
import static org.lwjgl.opengl.GL11.*; | |
import static org.lwjgl.opengl.GL20.*; | |
import java.io.File; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.List; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gov.nasa.worldwind.Model; | |
import gov.nasa.worldwind.WorldWind; | |
import gov.nasa.worldwind.WorldWindow; | |
import gov.nasa.worldwind.avlist.AVKey; | |
import gov.nasa.worldwind.awt.WorldWindowGLCanvas; | |
import gov.nasa.worldwind.geom.BilinearInterpolator; | |
import gov.nasa.worldwind.geom.LatLon; | |
import gov.nasa.worldwind.geom.Sector; | |
import gov.nasa.worldwind.geom.Vec4; | |
import gov.nasa.worldwind.globes.Globe; |