update macOS
This commit is contained in:
@@ -157,7 +157,7 @@ namespace polyvox
|
|||||||
float _cameraFocalLength = 28.0f;
|
float _cameraFocalLength = 28.0f;
|
||||||
float _cameraFocusDistance = 0.0f;
|
float _cameraFocusDistance = 0.0f;
|
||||||
Manipulator<double> *_manipulator = nullptr;
|
Manipulator<double> *_manipulator = nullptr;
|
||||||
filament::camutils::Mode _manipulatorMode;
|
filament::camutils::Mode _manipulatorMode = filament::camutils::Mode::ORBIT;
|
||||||
double _orbitSpeedX = 0.01;
|
double _orbitSpeedX = 0.01;
|
||||||
double _orbitSpeedY = 0.01;
|
double _orbitSpeedY = 0.01;
|
||||||
double _zoomSpeed = 0.01;
|
double _zoomSpeed = 0.01;
|
||||||
|
|||||||
@@ -163,6 +163,7 @@ FLUTTER_PLUGIN_EXPORT void set_post_processing(void* const viewer, bool enabled)
|
|||||||
FLUTTER_PLUGIN_EXPORT void pick(void* const viewer, int x, int y, EntityId* entityId);
|
FLUTTER_PLUGIN_EXPORT void pick(void* const viewer, int x, int y, EntityId* entityId);
|
||||||
FLUTTER_PLUGIN_EXPORT const char* get_name_for_entity(void* const assetManager, const EntityId entityId);
|
FLUTTER_PLUGIN_EXPORT const char* get_name_for_entity(void* const assetManager, const EntityId entityId);
|
||||||
FLUTTER_PLUGIN_EXPORT void ios_dummy();
|
FLUTTER_PLUGIN_EXPORT void ios_dummy();
|
||||||
|
FLUTTER_PLUGIN_EXPORT void flutter_filament_free(void* ptr);
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -445,4 +445,11 @@ extern "C"
|
|||||||
{
|
{
|
||||||
Log("Dummy called");
|
Log("Dummy called");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FLUTTER_PLUGIN_EXPORT void flutter_filament_free(void* ptr)
|
||||||
|
{
|
||||||
|
free(ptr);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user