getCameraModelMatrix method
Implementation
@override
Future<Matrix4> getCameraModelMatrix() async {
if (_viewer == null) {
throw Exception("No viewer available");
}
var arrayPtr = get_camera_model_matrix(_viewer!);
var modelMatrix = Matrix4.fromList(arrayPtr.asTypedList(16));
allocator.free(arrayPtr);
return modelMatrix;
}