refactor: made all fields of Vertex public
This commit is contained in:
parent
4e536d420d
commit
2a10757c54
|
@ -2,9 +2,9 @@ use anyhow::Result;
|
||||||
use lithium_utils::{Vector2, Vector3};
|
use lithium_utils::{Vector2, Vector3};
|
||||||
|
|
||||||
pub struct Vertex {
|
pub struct Vertex {
|
||||||
position: Vector3,
|
pub position: Vector3,
|
||||||
uv: Vector2,
|
pub uv: Vector2,
|
||||||
normal: Vector3,
|
pub normal: Vector3,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Vertex {
|
impl Vertex {
|
||||||
|
|
Loading…
Reference in New Issue