Skip to main content

spec_from_json_with

Function spec_from_json_with 

Source
pub fn spec_from_json_with(
    v: &Value,
    configs: Vec<System>,
    vendors: &HashMap<String, String>,
    reversed: &HashSet<String>,
) -> Result<McSpec>
Expand description

spec_from_json に、裏返して置いた玉の名前(ブロックの id、reversed_lenses)を足したもの。wedge_face の 前・後ろは玉のもとの向き(カタログ・.zmx の向き)で決めるので、裏返した玉では系の中の面の順と逆になる。 名前は、系の玉・群に裏返しの印が無いとき(印を持たない系)だけ使う