Reorder type registrations and remove comments for unsupported reflection type.
This commit is contained in:
parent
6ef9d3a56a
commit
36f7c62836
|
@ -66,7 +66,6 @@ impl Default for Source {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Component, Clone, Copy, Debug, Deref, DerefMut)]
|
#[derive(Component, Clone, Copy, Debug, Deref, DerefMut)]
|
||||||
// #[reflect(Component)]
|
|
||||||
pub struct PannerStrategy(pub syz::PannerStrategy);
|
pub struct PannerStrategy(pub syz::PannerStrategy);
|
||||||
|
|
||||||
impl Default for PannerStrategy {
|
impl Default for PannerStrategy {
|
||||||
|
@ -714,13 +713,13 @@ impl Plugin for SynthizerPlugin {
|
||||||
let context = Context(context);
|
let context = Context(context);
|
||||||
app.add_asset::<Buffer>()
|
app.add_asset::<Buffer>()
|
||||||
.init_asset_loader::<BufferAssetLoader>()
|
.init_asset_loader::<BufferAssetLoader>()
|
||||||
.register_type::<Source>()
|
|
||||||
.register_type::<DistanceRef>()
|
.register_type::<DistanceRef>()
|
||||||
.register_type::<DistanceMax>()
|
.register_type::<DistanceMax>()
|
||||||
.register_type::<Rolloff>()
|
.register_type::<Rolloff>()
|
||||||
.register_type::<ClosenessBoostDistance>()
|
.register_type::<ClosenessBoostDistance>()
|
||||||
.register_type::<AngularPan>()
|
.register_type::<AngularPan>()
|
||||||
.register_type::<ScalarPan>()
|
.register_type::<ScalarPan>()
|
||||||
|
.register_type::<Source>()
|
||||||
.register_type::<Sound>()
|
.register_type::<Sound>()
|
||||||
.register_type::<Listener>()
|
.register_type::<Listener>()
|
||||||
.insert_resource(guard)
|
.insert_resource(guard)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user