Merge pull request #224 from azriel91/use-nalgebra-for-spatial-source

Use nalgebra for Spatial source
This commit is contained in:
Pierre Krieger 2019-06-08 15:01:12 +02:00 committed by GitHub
commit f5c08de1c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,7 @@
# Unreleased # Unreleased
- Remove exclusive `&mut` borrow requirements in `Sink` & `SpatialSink` setters. - Remove exclusive `&mut` borrow requirements in `Sink` & `SpatialSink` setters.
- Use `nalgebra` instead of `cgmath` for `Spatial` source.
# Version 0.8.1 (2018-09-18) # Version 0.8.1 (2018-09-18)

View file

@ -14,7 +14,7 @@ cpal = "0.8"
hound = { version = "3.3.1", optional = true } hound = { version = "3.3.1", optional = true }
lazy_static = "1.0.0" lazy_static = "1.0.0"
lewton = { version = "0.9", optional = true } lewton = { version = "0.9", optional = true }
cgmath = "0.14" nalgebra = "0.18"
minimp3 = { version = "0.3.2", optional = true } minimp3 = { version = "0.3.2", optional = true }
[features] [features]

View file

@ -83,12 +83,12 @@
#![cfg_attr(test, deny(missing_docs))] #![cfg_attr(test, deny(missing_docs))]
extern crate cgmath;
#[cfg(feature = "flac")] #[cfg(feature = "flac")]
extern crate claxon; extern crate claxon;
extern crate cpal; extern crate cpal;
#[cfg(feature = "wav")] #[cfg(feature = "wav")]
extern crate hound; extern crate hound;
extern crate nalgebra;
#[macro_use] #[macro_use]
extern crate lazy_static; extern crate lazy_static;
#[cfg(feature = "vorbis")] #[cfg(feature = "vorbis")]

View file

@ -1,4 +1,4 @@
use cgmath::{InnerSpace, Point3}; use nalgebra::Point3;
use source::ChannelVolume; use source::ChannelVolume;
use std::fmt::Debug; use std::fmt::Debug;
use std::time::Duration; use std::time::Duration;