正交投影完成
This commit is contained in:
+2
-2
@@ -79,8 +79,8 @@ if(ANDROID)
|
||||
endif()
|
||||
|
||||
# Sync assets and shaders
|
||||
# android_sync_folder(PATH ${CMAKE_CURRENT_SOURCE_DIR}/../assets)
|
||||
# android_sync_folder(PATH ${CMAKE_CURRENT_SOURCE_DIR}/../shaders)
|
||||
android_sync_folder(PATH ${CMAKE_CURRENT_SOURCE_DIR}/../assets)
|
||||
android_sync_folder(PATH ${CMAKE_CURRENT_SOURCE_DIR}/../shaders)
|
||||
endif()
|
||||
|
||||
# Create MSVC project
|
||||
|
||||
@@ -59,13 +59,13 @@ public class MainActivity extends GameActivity implements FaceLandmarkerHelper.L
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
|
||||
if (!AssetsCopyUtil.isExternalStorageAvailable()) {
|
||||
Log.w(TAG, "External storage not available, skipping assets copy");
|
||||
return;
|
||||
}
|
||||
// if (!AssetsCopyUtil.isExternalStorageAvailable()) {
|
||||
// Log.w(TAG, "External storage not available, skipping assets copy");
|
||||
// return;
|
||||
// }
|
||||
|
||||
AssetsCopyUtil.copyAssetsToAppFiles(this, "assets");
|
||||
AssetsCopyUtil.copyAssetsToAppFiles(this, "shaders");
|
||||
//AssetsCopyUtil.copyAssetsToAppFiles(this, "assets");
|
||||
//AssetsCopyUtil.copyAssetsToAppFiles(this, "shaders");
|
||||
|
||||
|
||||
String native_lib_name = getResources().getString(R.string.native_lib_name);
|
||||
|
||||
Reference in New Issue
Block a user