vpin 0.23.5

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

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

/// Number of vertices in the kicker_plate mesh
pub const KICKER_PLATE_NUM_VERTICES: usize = 49;

/// Number of indices in the kicker_plate mesh
pub const KICKER_PLATE_NUM_INDICES: usize = 72;

/// kicker_plate mesh vertices
#[rustfmt::skip]
pub static KICKER_PLATE_VERTICES: [Vertex3dNoTex2; KICKER_PLATE_NUM_VERTICES] = [
    Vertex3dNoTex2 { x: -1.160550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.500000, tv: 0.001500 },
    Vertex3dNoTex2 { x: -1.121706, y: -0.293496, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.458338, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.458338, tv: 0.001500 },
    Vertex3dNoTex2 { x: -1.007819, y: -0.568442, z: 0.002517, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.416671, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.416671, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.826652, y: -0.804544, z: 0.002517, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.375004, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.375004, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.590550, y: -0.985711, z: 0.002518, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.333336, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.333336, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.315604, y: -1.099598, z: 0.002518, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.291668, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.291668, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: -1.138442, z: 0.002518, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.250000, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.250000, tv: 0.001500 },
    Vertex3dNoTex2 { x: 0.274503, y: -1.099598, z: 0.002518, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.208332, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.208332, tv: 0.001500 },
    Vertex3dNoTex2 { x: 0.549450, y: -0.985711, z: 0.002518, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.166664, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.166664, tv: 0.001500 },
    Vertex3dNoTex2 { x: 0.785551, y: -0.804544, z: 0.002517, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.124996, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.124996, tv: 0.001500 },
    Vertex3dNoTex2 { x: 0.966719, y: -0.568442, z: 0.002517, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.083329, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.083329, tv: 0.001500 },
    Vertex3dNoTex2 { x: 1.080605, y: -0.293496, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.041662, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.041662, tv: 0.001500 },
    Vertex3dNoTex2 { x: 1.119450, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.000000, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.000000, tv: 0.001500 },
    Vertex3dNoTex2 { x: -1.121706, y: 0.296537, z: 0.002515, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.541662, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.500000, tv: 0.001500 },
    Vertex3dNoTex2 { x: -1.007819, y: 0.571484, z: 0.002515, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.583329, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.541662, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.826652, y: 0.807585, z: 0.002514, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.624996, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.583329, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.590550, y: 0.988753, z: 0.002514, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.666664, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.624996, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.315604, y: 1.102639, z: 0.002514, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.708332, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.666664, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 1.141484, z: 0.002514, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.750000, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.708332, tv: 0.001500 },
    Vertex3dNoTex2 { x: 0.274503, y: 1.102639, z: 0.002514, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.791668, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.750000, tv: 0.001500 },
    Vertex3dNoTex2 { x: 0.549450, y: 0.988753, z: 0.002514, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.833336, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.791668, tv: 0.001500 },
    Vertex3dNoTex2 { x: 0.785551, y: 0.807585, z: 0.002514, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.875004, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.833336, tv: 0.001500 },
    Vertex3dNoTex2 { x: 0.966719, y: 0.571484, z: 0.002515, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.916671, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.875004, tv: 0.001500 },
    Vertex3dNoTex2 { x: 1.080605, y: 0.296537, z: 0.002515, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.958338, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.916671, tv: 0.001500 },
    Vertex3dNoTex2 { x: 1.119450, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 1.000000, tv: 0.001500 },
    Vertex3dNoTex2 { x: -0.020550, y: 0.001521, z: 0.002516, nx: 0.000000, ny: 0.000000, nz: 1.000000, tu: 0.958338, tv: 0.001500 },
];

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