Document ScaledMetric
This commit is contained in:
parent
f5f94d3c1c
commit
871d2d822b
|
|
@ -156,6 +156,7 @@ pub mod samples {
|
||||||
use super::{Decomp2, Metric};
|
use super::{Decomp2, Metric};
|
||||||
|
|
||||||
pub struct ScaledMetric {
|
pub struct ScaledMetric {
|
||||||
|
/// Specifies unit size in each cardinal direction. E.g. with scale=(2, 3), vector (1, 0) has length 2 while a unit vector with the same direction is (1/2, 0).
|
||||||
pub scale: Vec2,
|
pub scale: Vec2,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user