Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#5336: Add two more unit tests covering CSG merge
- Loading branch information
1 parent
4e06dd6
commit 62303e9
Showing
6 changed files
with
188 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
Version 2 | ||
// entity 0 | ||
{ | ||
"classname" "worldspawn" | ||
"description" "Brushes in this map have numbers as their material names, such that the unit test algorithm can find them" | ||
// primitive 0 | ||
{ | ||
brushDef3 | ||
{ | ||
( 0 0 1 -64 ) ( ( 0.03125 0 0 ) ( 0 0.03125 0 ) ) "1" 0 0 0 | ||
( 0 0 -1 -64 ) ( ( 0.03125 0 0 ) ( 0 0.03125 0 ) ) "1" 0 0 0 | ||
( 0 -1 0 0 ) ( ( 0.03125 0 0 ) ( 0 0.03125 0 ) ) "1" 0 0 0 | ||
( -1 0 0 64 ) ( ( 0.03125 0 0 ) ( 0 0.03125 0 ) ) "1" 0 0 0 | ||
( 0.7071067932881648 0.7071067932881648 0 -90.5096695408851 ) ( ( 0.03125 0 0 ) ( 0 0.03125 0 ) ) "1" 0 0 0 | ||
} | ||
} | ||
// primitive 1 | ||
{ | ||
brushDef3 | ||
{ | ||
( 0 0 1 -64 ) ( ( 0.03125 0 0 ) ( 0 0.03125 0 ) ) "2" 0 0 0 | ||
( 0 1 0 -64 ) ( ( 0.03125 0 0 ) ( 0 0.03125 0 ) ) "2" 0 0 0 | ||
( 1 0 0 -128 ) ( ( 0.03125 0 0 ) ( 0 0.03125 0 ) ) "2" 0 0 0 | ||
( 0 0 -1 -64 ) ( ( 0.03125 0 0 ) ( 0 0.03125 0 ) ) "2" 0 0 0 | ||
( -0.7071067932881648 -0.7071067932881648 0 90.5096695408851 ) ( ( 0.03125 0 0 ) ( 0 0.03125 0 ) ) "2" 0 0 0 | ||
} | ||
} | ||
// primitive 2 | ||
{ | ||
brushDef3 | ||
{ | ||
( 0 0 1 -64 ) ( ( 0.03125 0 0 ) ( 0 0.03125 62 ) ) "4" 0 0 0 | ||
( 0 1 0 -64 ) ( ( 0.03125 0 2 ) ( 0 0.03125 0 ) ) "4" 0 0 0 | ||
( 1 0 0 -192 ) ( ( 0.03125 0 0 ) ( 0 0.03125 0 ) ) "4" 0 0 0 | ||
( 0 0 -1 -64 ) ( ( 0.03125 0 0 ) ( 0 0.03125 2 ) ) "4" 0 0 0 | ||
( -0.7071067932881648 -0.7071067932881648 0 135.7645043113276 ) ( ( 0.03125 0 126.5857849121094 ) ( 0 0.03125 0 ) ) "4" 0 0 0 | ||
} | ||
} | ||
// primitive 3 | ||
{ | ||
brushDef3 | ||
{ | ||
( 0 0 1 -64 ) ( ( 0.03125 0 0 ) ( 0 0.03125 62 ) ) "3" 0 0 0 | ||
( 0 0 -1 -64 ) ( ( 0.03125 0 0 ) ( 0 0.03125 2 ) ) "3" 0 0 0 | ||
( 0 -1 0 0 ) ( ( 0.03125 0 62 ) ( 0 0.03125 0 ) ) "3" 0 0 0 | ||
( -1 0 0 128 ) ( ( 0.03125 0 0 ) ( 0 0.03125 0 ) ) "3" 0 0 0 | ||
( 0.7071067932881648 0.7071067932881648 0 -135.7645043113276 ) ( ( 0.03125 0 1.41421365737915 ) ( 0 0.03125 0 ) ) "3" 0 0 0 | ||
} | ||
} | ||
} | ||
// entity 1 | ||
{ | ||
"classname" "func_static" | ||
"name" "func_static_1" | ||
"model" "func_static_1" | ||
"origin" "96 -32 0" | ||
// primitive 0 | ||
{ | ||
brushDef3 | ||
{ | ||
( 0 0 1 -64 ) ( ( 0.03125 0 2 ) ( 0 0.03125 0 ) ) "1" 0 0 0 | ||
( 0 0 -1 -64 ) ( ( 0.03125 0 2 ) ( 0 0.03125 0 ) ) "1" 0 0 0 | ||
( 0 -1 0 -32 ) ( ( 0.03125 0 0 ) ( 0 0.03125 0 ) ) "1" 0 0 0 | ||
( -1 0 0 -32 ) ( ( 0.03125 0 62 ) ( 0 0.03125 0 ) ) "1" 0 0 0 | ||
( 0.7071067932881648 0.7071067932881648 0 -7.105427357601002e-15 ) ( ( 0.03125 0 2 ) ( 0 0.03125 0 ) ) "1" 0 0 0 | ||
} | ||
} | ||
// primitive 1 | ||
{ | ||
brushDef3 | ||
{ | ||
( 0 0 1 -64 ) ( ( 0.03125 0 2 ) ( 0 0.03125 0 ) ) "2" 0 0 0 | ||
( 0 1 0 -32 ) ( ( 0.03125 0 0 ) ( 0 0.03125 0 ) ) "2" 0 0 0 | ||
( 1 0 0 -32 ) ( ( 0.03125 0 2 ) ( 0 0.03125 0 ) ) "2" 0 0 0 | ||
( 0 0 -1 -64 ) ( ( 0.03125 0 2 ) ( 0 0.03125 0 ) ) "2" 0 0 0 | ||
( -0.7071067932881648 -0.7071067932881648 0 7.105427357601002e-15 ) ( ( 0.03125 0 2 ) ( 0 0.03125 0 ) ) "2" 0 0 0 | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters