BohdiEngine 1.2.2

BohdiEngine 1.2.2

测试已测试
语言语言 CC
许可证 BSD-3-Clause
发布最新版本2018年9月

Sun Yuli 维护。



  • Sun YuLi

BohdiEngine

Carthage compatible Cocoapods compatible

示例

要运行示例项目,请克隆仓库,然后首先从 Example 目录运行 pod install。还有 Mac OS 版本 https://github.com/sunpaq/BEMac

要求

iOS 设备支持 OpenGLES 3.0 和 arm64 CPU (>=iPhone5s)

安装

通过 Carthage,将以下行添加到您的 Cartfile 中:

github "sunpaq/BohdiEngine-pod"

BohdiEngine 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中:

pod "BohdiEngine"

如果您需要使用开发版本:

target 'App' do
	pod 'BohdiEngine', :git => 'https://github.com/sunpaq/BohdiEngine-pod.git', :branch => 'develop'
end

使用BohdiEngine构建您的应用程序

1. add a UIView to any of your interface in storyboard
2. set the class of the view -> BEView
3. set a outlet of the view to your controller
4. call the beview.loadModelNamed("monkey2.obj") method
5. call the beview.startDraw3DContent(BECameraRotateAroundModelManual) method

for swift you also need add a bridge header and import:
#import <monkc/monkc-umbrella.h>

关于OpenGL设置和引擎使用,请查阅此Pod(Objective-C)的示例,那里还有一个用Swift编写的示例

作者

孙宇丽,[email protected]

许可证

BohdiEngine遵循BSD许可证。有关更多信息,请参阅LICENSE文件。