forked from M-Labs/nalgebra
Fix to work with the last Rust deriving.
This commit is contained in:
parent
a46b063192
commit
24e1862a9e
@ -13,7 +13,7 @@ use traits::translation::{Translation, Translatable};
|
|||||||
use traits::scalar_op::{ScalarMul, ScalarDiv, ScalarAdd, ScalarSub};
|
use traits::scalar_op::{ScalarMul, ScalarDiv, ScalarAdd, ScalarSub};
|
||||||
|
|
||||||
/// Vector with a dimension unknown at compile-time.
|
/// Vector with a dimension unknown at compile-time.
|
||||||
#[deriving(Eq, Ord, ToStr, Clone)]
|
#[deriving(Eq, ToStr, Clone)]
|
||||||
pub struct DVec<N> {
|
pub struct DVec<N> {
|
||||||
/// Components of the vector. Contains as much elements as the vector dimension.
|
/// Components of the vector. Contains as much elements as the vector dimension.
|
||||||
at: ~[N]
|
at: ~[N]
|
||||||
|
Loading…
Reference in New Issue
Block a user