1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
use jni::Env;
use jni::objects::JObject;
use eucalyptus_core::scripting::result::DropbearNativeResult;
pub use eucalyptus_core::convert_ptr;
pub use eucalyptus_core::ffi_error_return;
pub use eucalyptus_core::convert_jstring;
pub use eucalyptus_core::convert_jlong_to_entity;
pub mod animation;
pub mod asset;
pub mod camera;
pub mod component;
pub mod debug;
pub mod entity;
pub mod input;
pub mod lighting;
pub mod math;
pub mod mesh;
pub mod physics;
pub mod primitives;
pub mod properties;
pub mod scene;
pub mod scripting;
pub mod transform;
pub mod utils;
pub mod engine;
pub mod ptr {
pub use eucalyptus_core::ptr::*;
}
pub trait FromJObject {
fn from_jobject(env: &mut Env, obj: &JObject) -> DropbearNativeResult<Self>
where
Self: Sized;
}
pub trait ToJObject {
fn to_jobject<'a>(&self, env: &mut Env<'a>) -> DropbearNativeResult<JObject<'a>>;
}