2 unstable releases
0.14.0 | Jul 7, 2024 |
---|---|
0.13.2 | Jun 16, 2024 |
#513 in Game dev
8KB
bevy-cross-gizmo
Adds cross
and cross_2d
gizmos to Bevy.
Installation
[dependencies]
bevy-cross-gizmo = "0.14.0"
Usage
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);
}
Compatibility
bevy |
bevy-cross-gizmo |
---|---|
0.14.0 | 0.14.0 |
0.13.2 | 0.13.2 |
License
Dual-licensed under either:
- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
at your option.
Dependencies
~24MB
~453K SLoC