Crates.io | bevy-cross-gizmo |
lib.rs | bevy-cross-gizmo |
version | 0.14.0 |
source | src |
created_at | 2024-06-16 07:22:11.689969 |
updated_at | 2024-07-07 19:10:51.574513 |
description | Adds `cross` and `cross_2d` gizmos to Bevy. |
homepage | https://bevyengine.org |
repository | https://github.com/lubomirkurcak/bevy-cross-gizmo |
max_upload_size | |
id | 1273323 |
size | 17,330 |
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.14.0 | 0.14.0 |
0.13.2 | 0.13.2 |
Dual-licensed under either:
at your option.