Fix serveral recent new clang-format errors
This commit is contained in:
parent
eedb39091a
commit
5e18967d77
11 changed files with 35 additions and 54 deletions
|
|
@ -308,9 +308,8 @@ DirectionalLight::ShadowMode DirectionalLight::get_shadow_mode() const {
|
|||
}
|
||||
|
||||
void DirectionalLight::set_shadow_depth_range(ShadowDepthRange p_range) {
|
||||
shadow_depth_range=p_range;
|
||||
shadow_depth_range = p_range;
|
||||
VS::get_singleton()->light_directional_set_shadow_depth_range_mode(light, VS::LightDirectionalShadowDepthRangeMode(p_range));
|
||||
|
||||
}
|
||||
|
||||
DirectionalLight::ShadowDepthRange DirectionalLight::get_shadow_depth_range() const {
|
||||
|
|
@ -318,7 +317,6 @@ DirectionalLight::ShadowDepthRange DirectionalLight::get_shadow_depth_range() co
|
|||
return shadow_depth_range;
|
||||
}
|
||||
|
||||
|
||||
void DirectionalLight::set_blend_splits(bool p_enable) {
|
||||
|
||||
blend_splits = p_enable;
|
||||
|
|
@ -356,8 +354,8 @@ void DirectionalLight::_bind_methods() {
|
|||
BIND_ENUM_CONSTANT(SHADOW_PARALLEL_2_SPLITS);
|
||||
BIND_ENUM_CONSTANT(SHADOW_PARALLEL_4_SPLITS);
|
||||
|
||||
BIND_ENUM_CONSTANT( SHADOW_DEPTH_RANGE_STABLE );
|
||||
BIND_ENUM_CONSTANT( SHADOW_DEPTH_RANGE_OPTIMIZED );
|
||||
BIND_ENUM_CONSTANT(SHADOW_DEPTH_RANGE_STABLE);
|
||||
BIND_ENUM_CONSTANT(SHADOW_DEPTH_RANGE_OPTIMIZED);
|
||||
}
|
||||
|
||||
DirectionalLight::DirectionalLight()
|
||||
|
|
@ -370,7 +368,6 @@ DirectionalLight::DirectionalLight()
|
|||
set_shadow_mode(SHADOW_PARALLEL_4_SPLITS);
|
||||
set_shadow_depth_range(SHADOW_DEPTH_RANGE_STABLE);
|
||||
|
||||
|
||||
blend_splits = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue