mirror of
https://codeberg.org/icewind/vmt-parser.git
synced 2026-08-02 12:24:46 +02:00
fix tests
This commit is contained in:
parent
27a4f9fc38
commit
8513568506
11 changed files with 394 additions and 424 deletions
|
|
@ -2,20 +2,26 @@
|
|||
source: tests/parse.rs
|
||||
expression: result
|
||||
---
|
||||
unlitgeneric(UnlitGenericMaterial(
|
||||
r#$basetexture: Some("vgui/pve/mvm_backpack"),
|
||||
r#$surfaceprop: None,
|
||||
r#$model: false,
|
||||
r#$color: Vec3((1.0, 1.0, 1.0)),
|
||||
r#$alpha: 1.0,
|
||||
r#$alphatest: false,
|
||||
r#$alphatestreference: 1.0,
|
||||
r#$nocull: false,
|
||||
r#$translucent: true,
|
||||
r#$bumpmap: None,
|
||||
r#$ignorez: true,
|
||||
r#$nofog: false,
|
||||
r#$receiveflashlight: false,
|
||||
singlepassflashlight: false,
|
||||
r#$no_fullbright: true,
|
||||
))
|
||||
{
|
||||
"unlitgeneric": {
|
||||
"$basetexture": "vgui/pve/mvm_backpack",
|
||||
"$surfaceprop": null,
|
||||
"$model": false,
|
||||
"$color": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"$alpha": 1.0,
|
||||
"$alphatest": false,
|
||||
"$alphatestreference": 1.0,
|
||||
"$nocull": false,
|
||||
"$translucent": true,
|
||||
"$bumpmap": null,
|
||||
"$ignorez": true,
|
||||
"$nofog": false,
|
||||
"$receiveflashlight": false,
|
||||
"singlepassflashlight": false,
|
||||
"$no_fullbright": true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue