Skip to content

Commit 4cd0e81

Browse files
committed
better licence compliance
1 parent 2520cbc commit 4cd0e81

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src_testbed/egui_text_gizmo.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
//! This work is dual licensed under the Apache License v2.0 and the MIT license (SPDX: Apache-2.0, MIT).
2+
//!
3+
//! Original source: https://gist.github.com/jakkos-net/7f1d2806fae0288a11f3eb0840a11b04
4+
//!
5+
//! Changes:
6+
//! - plugin addition.
7+
//!
28
//! usage example:
39
//! fn example_system(mut text_gizmos: ResMut<TextGizmos>) {
410
//! text_gizmos.add("this is a text gizmo!", Vec3::ZERO, 10.0, Color::WHITE);
511
//! }
6-
//! remember to include [`TextGizmosPlugin`]:
12+
//!
13+
//! Remember to include [`TextGizmosPlugin`]:
714
815
pub struct TextGizmosPlugin;
916

0 commit comments

Comments
 (0)