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