mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-20 11:47:46 +00:00
Oops, half4 positions should not be written as single4
This commit is contained in:
parent
5629cc5551
commit
e26c70221e
1 changed files with 1 additions and 1 deletions
|
@ -672,7 +672,7 @@ impl MDL {
|
||||||
VertexUsage::Position => {
|
VertexUsage::Position => {
|
||||||
match element.vertex_type {
|
match element.vertex_type {
|
||||||
VertexType::Half4 => {
|
VertexType::Half4 => {
|
||||||
MDL::write_single4(&mut cursor, &MDL::pad_slice(&vert.position, 1.0)).ok()?;
|
MDL::write_half4(&mut cursor, &MDL::pad_slice(&vert.position, 1.0)).ok()?;
|
||||||
}
|
}
|
||||||
VertexType::Single3 => {
|
VertexType::Single3 => {
|
||||||
MDL::write_single3(&mut cursor, &vert.position).ok()?;
|
MDL::write_single3(&mut cursor, &vert.position).ok()?;
|
||||||
|
|
Loading…
Add table
Reference in a new issue