mirror of
https://github.com/RustAudio/rodio
synced 2024-12-13 13:42:34 +00:00
Merge pull request #224 from azriel91/use-nalgebra-for-spatial-source
Use nalgebra for Spatial source
This commit is contained in:
commit
f5c08de1c0
4 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
|||
# Unreleased
|
||||
|
||||
- Remove exclusive `&mut` borrow requirements in `Sink` & `SpatialSink` setters.
|
||||
- Use `nalgebra` instead of `cgmath` for `Spatial` source.
|
||||
|
||||
# Version 0.8.1 (2018-09-18)
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ cpal = "0.8"
|
|||
hound = { version = "3.3.1", optional = true }
|
||||
lazy_static = "1.0.0"
|
||||
lewton = { version = "0.9", optional = true }
|
||||
cgmath = "0.14"
|
||||
nalgebra = "0.18"
|
||||
minimp3 = { version = "0.3.2", optional = true }
|
||||
|
||||
[features]
|
||||
|
|
|
@ -83,12 +83,12 @@
|
|||
|
||||
#![cfg_attr(test, deny(missing_docs))]
|
||||
|
||||
extern crate cgmath;
|
||||
#[cfg(feature = "flac")]
|
||||
extern crate claxon;
|
||||
extern crate cpal;
|
||||
#[cfg(feature = "wav")]
|
||||
extern crate hound;
|
||||
extern crate nalgebra;
|
||||
#[macro_use]
|
||||
extern crate lazy_static;
|
||||
#[cfg(feature = "vorbis")]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use cgmath::{InnerSpace, Point3};
|
||||
use nalgebra::Point3;
|
||||
use source::ChannelVolume;
|
||||
use std::fmt::Debug;
|
||||
use std::time::Duration;
|
||||
|
|
Loading…
Reference in a new issue