You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Bind Physics Interpolation functions in VisualServer
To allow maximum flexibility in the initial rollout, VisualServer functions were not bound in order to prevent compatibility issues if the API changed. These functions are now bound to allow direct use from the VisualServer.
This commit is contained in:
@@ -466,11 +466,11 @@ void RasterizerStorage::multimesh_set_physics_interpolated(RID p_multimesh, bool
|
||||
}
|
||||
}
|
||||
|
||||
void RasterizerStorage::multimesh_set_physics_interpolation_quality(RID p_multimesh, int p_quality) {
|
||||
void RasterizerStorage::multimesh_set_physics_interpolation_quality(RID p_multimesh, VS::MultimeshPhysicsInterpolationQuality p_quality) {
|
||||
ERR_FAIL_COND((p_quality < 0) || (p_quality > 1));
|
||||
MMInterpolator *mmi = _multimesh_get_interpolator(p_multimesh);
|
||||
if (mmi) {
|
||||
mmi->quality = p_quality;
|
||||
mmi->quality = (int)p_quality;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user