Crates.io | bevy-cross-gizmo |
lib.rs | bevy-cross-gizmo |
version | |
source | src |
created_at | 2024-06-16 07:22:11.689969 |
updated_at | 2024-11-29 21:57:51.592061 |
description | This crate is deprecated. Use Bevy's Gizmos::cross and Gizmos::cross_2d methods instead. |
homepage | https://bevyengine.org |
repository | https://github.com/lubomirkurcak/bevy-cross-gizmo |
max_upload_size | |
id | 1273323 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
This crate is deprecated. The functionality has been integrated into Bevy.
Use Gizmos::cross
for 3D
and Gizmos::cross_2d
for 2D.
Adds cross
and cross_2d
gizmos to Bevy.
[dependencies]
bevy-cross-gizmo = "0.14.0"
use bevy::prelude::*;
use bevy_cross_gizmo::BevyCrossGizmo;
fn update(mut gizmos: Gizmos) {
gizmos.cross(Vec3::ZERO, Quat::IDENTITY, 0.3, Color::WHITE);
gizmos.cross_2d(Vec3::ZERO, 0.0, 0.3, Color::WHITE);
}
bevy |
bevy-cross-gizmo |
---|---|
0.15.0 | part of Bevy Gizmos |
0.14.0 | 0.14.0 |
0.13.2 | 0.13.2 |
Dual-licensed under either:
at your option.