Skip to content

Commit

Permalink
compiles on android... finally
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoquesada committed Jun 7, 2016
1 parent fb728da commit 6ee0a3c
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 179 deletions.
176 changes: 8 additions & 168 deletions build/cocos2d_libs.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

12 changes: 1 addition & 11 deletions cocos/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -190,19 +190,10 @@ renderer/CCVertexIndexData.cpp \
renderer/ccGLStateCache.cpp \
renderer/CCFrameBuffer.cpp \
renderer/ccShaders.cpp \
vr/CCVRCardboardHeadTracker.cpp \
vr/CCVRCardboardRenderer.cpp \
vr/CCVRDeepoonHeadTracker.cpp \
vr/CCVRDeepoonRenderer.cpp \
vr/CCVRDistortion.cpp \
vr/CCVRDistortionMesh.cpp \
vr/CCVRGearVRHeadTracker.cpp \
vr/CCVRGearVRRenderer.cpp \
vr/CCVRGenericRenderer.cpp \
vr/CCVRGvrHeadTracker.cpp \
vr/CCVRGvrRenderer.cpp \
vr/CCVROculusHeadTracker.cpp \
vr/CCVROculusRenderer.cpp \
vr/CCVRGenericHeadTracker.cpp \
deprecated/CCArray.cpp \
deprecated/CCDeprecated.cpp \
deprecated/CCDictionary.cpp \
Expand All @@ -227,7 +218,6 @@ navmesh/CCNavMeshAgent.cpp \
navmesh/CCNavMeshDebugDraw.cpp \
navmesh/CCNavMeshObstacle.cpp \
navmesh/CCNavMeshUtils.cpp \
vr/CCVRGenericRenderer.cpp \
../external/ConvertUTF/ConvertUTFWrapper.cpp \
../external/ConvertUTF/ConvertUTF.c \
../external/tinyxml2/tinyxml2.cpp \
Expand Down
1 change: 1 addition & 0 deletions cocos/vr/CCVRDistortion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
****************************************************************************/

#include "CCVRDistortion.h"
#include <math.h>

NS_CC_BEGIN

Expand Down
1 change: 1 addition & 0 deletions cocos/vr/CCVRDistortionMesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include "vr/CCVRDistortionMesh.h"
#include "vr/CCVRDistortion.h"
#include "math/Vec2.h"
#include "platform/CCGL.h"

NS_CC_BEGIN

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ of this software and associated documentation files (the "Software"), to deal
THE SOFTWARE.
****************************************************************************/

// IMPORTANT
// For iOS/Mac, this file is treated as an "Objective-C++" file.
// To change this behvior, use the File Inspector from Xcode

#include "vr/CCVRGenericHeadTracker.h"
#include "platform/CCPlatformMacros.h"

Expand Down
7 changes: 7 additions & 0 deletions cocos/vr/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

set(COCOS_VR_SRC
vr/CCVRDistortion.cpp
vr/CCVRDistortionMesh.cpp
vr/CCVRGenericRenderer.cpp
vr/CCVRGenericHeadTracker.cpp
)

0 comments on commit 6ee0a3c

Please sign in to comment.