This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Takes git project and a commit and compares the number of changed files starting from commit value | |
| # This is initially configured for translation of Rust Book to Turkish | |
| # for something else change commit_value and target_file variables | |
| # NOTE: ONLY WORKS ON BASH NOT SH | |
| # | |
| # Example Usage: ./change_ratio.sh -g ./file_path/ -t target_file/ -c commit_hash | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use bevy::diagnostic::{FrameTimeDiagnosticsPlugin, LogDiagnosticsPlugin}; | |
| use bevy::sprite::collide_aabb::collide; | |
| use bevy::{ | |
| core::FixedTimestep, | |
| math::{const_vec2, const_vec3}, | |
| prelude::*, | |
| sprite::MaterialMesh2dBundle, | |
| transform::components::Transform, |