Skip to content
This repository was archived by the owner on Jan 1, 2026. It is now read-only.

Commit cfb240d

Browse files
authored
Update sprite.rs
1 parent 3c67495 commit cfb240d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/graphics/_2d/sprite.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
use std::marker::PhantomData;
2+
use cgmath::Point3;
3+
use cgmath::prelude::*;
14

5+
//marker structs later
6+
7+
struct Sprite<T> {
8+
position: Point3<f32>,
9+
_marker: PhantomData<T>,
10+
}

0 commit comments

Comments
 (0)