vpin 0.23.5

Rust library for working with Visual Pinball VPX files
Documentation
#![allow(clippy::excessive_precision, clippy::approx_constant)]
//! kicker_simple_hole mesh data
//!
//! Ported from VPinball src/meshes/kickerSimpleHoleMesh.h

use crate::vpx::model::Vertex3dNoTex2;

/// Number of vertices in the kicker_simple_hole mesh
pub const KICKER_SIMPLE_HOLE_NUM_VERTICES: usize = 42;

/// Number of indices in the kicker_simple_hole mesh
pub const KICKER_SIMPLE_HOLE_NUM_INDICES: usize = 126;

/// kicker_simple_hole mesh vertices
#[rustfmt::skip]
pub static KICKER_SIMPLE_HOLE_VERTICES: [Vertex3dNoTex2; KICKER_SIMPLE_HOLE_NUM_VERTICES] = [
    Vertex3dNoTex2 { x: -0.300698, y: 0.871887, z: -0.623927, nx: 0.312300, ny: -0.950000, nz: 0.000000, tu: 0.497836, tv: 0.036364 },
    Vertex3dNoTex2 { x: -0.583629, y: 0.720173, z: -0.006035, nx: 0.618400, ny: -0.785800, nz: 0.000000, tu: 0.331702, tv: 0.985736 },
    Vertex3dNoTex2 { x: -0.583629, y: 0.720173, z: -0.623927, nx: 0.618400, ny: -0.785800, nz: 0.000000, tu: 0.331702, tv: 0.036364 },
    Vertex3dNoTex2 { x: -0.300695, y: 0.871888, z: -0.006035, nx: 0.312300, ny: -0.950000, nz: 0.000000, tu: 0.497836, tv: 0.985736 },
    Vertex3dNoTex2 { x: -0.797609, y: 0.480827, z: -0.006035, nx: 0.849900, ny: -0.526900, nz: 0.000000, tu: 0.186078, tv: 0.985736 },
    Vertex3dNoTex2 { x: -0.797609, y: 0.480827, z: -0.623927, nx: 0.849900, ny: -0.526900, nz: 0.000000, tu: 0.186078, tv: 0.036364 },
    Vertex3dNoTex2 { x: -0.916825, y: 0.182724, z: -0.006035, nx: 0.978900, ny: -0.204500, nz: 0.000000, tu: 0.077372, tv: 0.985736 },
    Vertex3dNoTex2 { x: -0.916825, y: 0.182724, z: -0.623927, nx: 0.978900, ny: -0.204500, nz: 0.000000, tu: 0.077372, tv: 0.036364 },
    Vertex3dNoTex2 { x: -0.926900, y: -0.138192, z: -0.006035, nx: 0.989800, ny: 0.142600, nz: 0.000000, tu: 0.019943, tv: 0.985736 },
    Vertex3dNoTex2 { x: -0.926900, y: -0.138192, z: -0.623927, nx: 0.989800, ny: 0.142600, nz: 0.000000, tu: 0.019943, tv: 0.036364 },
    Vertex3dNoTex2 { x: -0.826617, y: -0.443205, z: -0.006035, nx: 0.881300, ny: 0.472500, nz: 0.000000, tu: 0.019943, tv: 0.985736 },
    Vertex3dNoTex2 { x: -0.826616, y: -0.443205, z: -0.623927, nx: 0.881300, ny: 0.472500, nz: 0.000000, tu: 0.019943, tv: 0.036364 },
    Vertex3dNoTex2 { x: -0.628071, y: -0.695526, z: -0.006035, nx: 0.666600, ny: 0.745500, nz: -0.000000, tu: 0.077372, tv: 0.985736 },
    Vertex3dNoTex2 { x: -0.628071, y: -0.695526, z: -0.623927, nx: 0.666600, ny: 0.745500, nz: -0.000000, tu: 0.077372, tv: 0.036364 },
    Vertex3dNoTex2 { x: -0.355210, y: -0.864721, z: -0.006035, nx: 0.371400, ny: 0.928500, nz: -0.000000, tu: 0.186078, tv: 0.985736 },
    Vertex3dNoTex2 { x: -0.355211, y: -0.864725, z: -0.623927, nx: 0.371400, ny: 0.928500, nz: -0.000000, tu: 0.186078, tv: 0.036364 },
    Vertex3dNoTex2 { x: -0.040955, y: -0.930391, z: -0.006035, nx: 0.031400, ny: 0.999500, nz: -0.000000, tu: 0.331702, tv: 0.985736 },
    Vertex3dNoTex2 { x: -0.040955, y: -0.930391, z: -0.623927, nx: 0.031400, ny: 0.999500, nz: -0.000000, tu: 0.331702, tv: 0.036364 },
    Vertex3dNoTex2 { x: 0.276811, y: -0.884607, z: -0.006035, nx: -0.312300, ny: 0.950000, nz: -0.000000, tu: 0.497836, tv: 0.985736 },
    Vertex3dNoTex2 { x: 0.276812, y: -0.884610, z: -0.623927, nx: -0.312300, ny: 0.950000, nz: -0.000000, tu: 0.497836, tv: 0.036364 },
    Vertex3dNoTex2 { x: 0.559739, y: -0.732893, z: -0.006035, nx: -0.618400, ny: 0.785800, nz: -0.000000, tu: 0.663971, tv: 0.985736 },
    Vertex3dNoTex2 { x: 0.559740, y: -0.732897, z: -0.623927, nx: -0.618400, ny: 0.785800, nz: -0.000000, tu: 0.663971, tv: 0.036364 },
    Vertex3dNoTex2 { x: 0.773718, y: -0.493552, z: -0.006035, nx: -0.849900, ny: 0.526900, nz: -0.000000, tu: 0.810279, tv: 0.985736 },
    Vertex3dNoTex2 { x: 0.773719, y: -0.493556, z: -0.623927, nx: -0.849900, ny: 0.526900, nz: -0.000000, tu: 0.810279, tv: 0.036364 },
    Vertex3dNoTex2 { x: 0.892939, y: -0.195444, z: -0.006035, nx: -0.978900, ny: 0.204500, nz: -0.000000, tu: 0.918301, tv: 0.985736 },
    Vertex3dNoTex2 { x: 0.892940, y: -0.195444, z: -0.623927, nx: -0.978900, ny: 0.204500, nz: -0.000000, tu: 0.918301, tv: 0.036364 },
    Vertex3dNoTex2 { x: 0.903673, y: 0.146425, z: -0.623927, nx: -0.988000, ny: -0.154400, nz: -0.000000, tu: 0.979832, tv: 0.036364 },
    Vertex3dNoTex2 { x: 0.802731, y: 0.430481, z: -0.006035, nx: -0.875600, ny: -0.483000, nz: -0.000000, tu: 0.975730, tv: 0.985736 },
    Vertex3dNoTex2 { x: 0.802731, y: 0.430481, z: -0.623927, nx: -0.875600, ny: -0.483000, nz: -0.000000, tu: 0.979832, tv: 0.036364 },
    Vertex3dNoTex2 { x: 0.903672, y: 0.146427, z: -0.006035, nx: -0.988000, ny: -0.154400, nz: -0.000000, tu: 0.975730, tv: 0.985736 },
    Vertex3dNoTex2 { x: 0.604186, y: 0.682806, z: -0.006035, nx: -0.666600, ny: -0.745400, nz: 0.000000, tu: 0.918301, tv: 0.985736 },
    Vertex3dNoTex2 { x: 0.604186, y: 0.682806, z: -0.623927, nx: -0.666600, ny: -0.745400, nz: 0.000000, tu: 0.918301, tv: 0.036364 },
    Vertex3dNoTex2 { x: 0.312863, y: 0.863453, z: -0.623927, nx: -0.093700, ny: -0.995600, nz: 0.000000, tu: 0.802759, tv: 0.036364 },
    Vertex3dNoTex2 { x: 0.300084, y: 0.858535, z: -0.006035, nx: 0.080600, ny: -0.996700, nz: 0.000000, tu: 0.795238, tv: 0.985736 },
    Vertex3dNoTex2 { x: 0.300084, y: 0.858535, z: -0.623927, nx: 0.080600, ny: -0.996700, nz: 0.000000, tu: 0.795238, tv: 0.036364 },
    Vertex3dNoTex2 { x: 0.312863, y: 0.863453, z: -0.006035, nx: -0.093600, ny: -0.995600, nz: 0.000000, tu: 0.802759, tv: 0.985736 },
    Vertex3dNoTex2 { x: 0.017062, y: 0.917670, z: -0.623927, nx: -0.031400, ny: -0.999500, nz: 0.000000, tu: 0.663971, tv: 0.036364 },
    Vertex3dNoTex2 { x: 0.017062, y: 0.917670, z: -0.006035, nx: -0.031400, ny: -0.999500, nz: 0.000000, tu: 0.663971, tv: 0.985736 },
    Vertex3dNoTex2 { x: 0.903013, y: 0.125472, z: -0.006035, nx: -0.999500, ny: 0.031400, nz: -0.000000, tu: 0.975730, tv: 0.985736 },
    Vertex3dNoTex2 { x: 0.903014, y: 0.125468, z: -0.623927, nx: -0.999500, ny: 0.031400, nz: -0.000000, tu: 0.979832, tv: 0.036364 },
    Vertex3dNoTex2 { x: 0.331325, y: 0.852009, z: -0.006035, nx: -0.526900, ny: -0.849900, nz: 0.000000, tu: 0.810279, tv: 0.985736 },
    Vertex3dNoTex2 { x: 0.331326, y: 0.852006, z: -0.623927, nx: -0.527000, ny: -0.849900, nz: 0.000000, tu: 0.810279, tv: 0.036364 },
];

/// kicker_simple_hole mesh indices
#[rustfmt::skip]
pub static KICKER_SIMPLE_HOLE_INDICES: [u16; KICKER_SIMPLE_HOLE_NUM_INDICES] = [
    0, 1, 2, 3, 1, 0, 1, 4, 2, 36, 3, 0,
    2, 4, 5, 37, 3, 36, 4, 6, 5, 34, 37, 36,
    5, 6, 7, 33, 37, 34, 6, 8, 7, 32, 33, 34,
    7, 8, 9, 35, 33, 32, 8, 10, 9, 35, 32, 41,
    9, 10, 11, 35, 41, 40, 10, 12, 11, 40, 41, 31,
    11, 12, 13, 40, 31, 30, 12, 14, 13, 28, 30, 31,
    13, 14, 15, 27, 30, 28, 14, 16, 15, 26, 27, 28,
    15, 16, 17, 29, 27, 26, 16, 18, 17, 29, 26, 39,
    17, 18, 19, 29, 39, 38, 18, 20, 19, 38, 39, 25,
    19, 20, 21, 38, 25, 24, 20, 22, 21, 23, 24, 25,
    21, 22, 23, 22, 24, 23,
];