forked from M-Labs/nalgebra
Small dimension check fix for swizzling.
This commit is contained in:
parent
accdd51faf
commit
f972d1dd7e
@ -23,7 +23,7 @@ impl_swizzle!(
|
||||
where U2: xz() -> Vector2[0, 2];
|
||||
where U1: yx() -> Vector2[1, 0];
|
||||
where U1: yy() -> Vector2[1, 1];
|
||||
where U1: yz() -> Vector2[1, 2];
|
||||
where U2: yz() -> Vector2[1, 2];
|
||||
where U2: zx() -> Vector2[2, 0];
|
||||
where U2: zy() -> Vector2[2, 1];
|
||||
where U2: zz() -> Vector2[2, 2];
|
||||
|
@ -26,7 +26,7 @@ impl_swizzle!(
|
||||
where U2: xz() -> Point2[0, 2];
|
||||
where U1: yx() -> Point2[1, 0];
|
||||
where U1: yy() -> Point2[1, 1];
|
||||
where U1: yz() -> Point2[1, 2];
|
||||
where U2: yz() -> Point2[1, 2];
|
||||
where U2: zx() -> Point2[2, 0];
|
||||
where U2: zy() -> Point2[2, 1];
|
||||
where U2: zz() -> Point2[2, 2];
|
||||
|
Loading…
Reference in New Issue
Block a user