Skip to content

Commit 5044420

Browse files
nvidia-bgaldrikianpreist-nvidia
authored andcommitted
Blast SDK 4.0.2 - PhysX SDK 5.1.2 (32190885)
1 parent 0bbcff3 commit 5044420

File tree

317 files changed

+93617
-57
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

317 files changed

+93617
-57
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3030

3131
Welcome to the NVIDIA PhysX source code repository.
3232

33-
This repository contains source releases of the PhysX and Flow SDKs used in NVIDIA Omniverse.
33+
This repository contains source releases of the PhysX, Flow, and Blast SDKs used in NVIDIA Omniverse.
3434

3535
## Documentation
3636

blast/.clang-format

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
AccessModifierOffset: -4
2+
AlignAfterOpenBracket: Align
3+
AlignConsecutiveAssignments: false
4+
AlignConsecutiveDeclarations: false
5+
AlignEscapedNewlinesLeft: false
6+
AlignTrailingComments: false
7+
AllowAllParametersOfDeclarationOnNextLine: true
8+
AllowShortFunctionsOnASingleLine: false
9+
AllowShortIfStatementsOnASingleLine: false
10+
AllowShortCaseLabelsOnASingleLine : false
11+
AllowShortLoopsOnASingleLine: false
12+
AlwaysBreakAfterDefinitionReturnType: false
13+
AlwaysBreakBeforeMultilineStrings: true
14+
AlwaysBreakTemplateDeclarations: true
15+
BinPackArguments: true
16+
BinPackParameters: false
17+
BreakBeforeBinaryOperators: false
18+
BreakBeforeBraces: Allman
19+
BreakBeforeTernaryOperators: false
20+
BreakConstructorInitializersBeforeComma: false
21+
BreakStringLiterals: false
22+
ColumnLimit: 120
23+
CommentPragmas: ''
24+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
25+
ConstructorInitializerIndentWidth: 4
26+
ContinuationIndentWidth: 4
27+
Cpp11BracedListStyle: false
28+
DerivePointerBinding: false
29+
FixNamespaceComments: false
30+
IndentCaseLabels: false
31+
IndentPPDirectives: AfterHash
32+
IndentFunctionDeclarationAfterType: false
33+
IndentWidth: 4
34+
SortIncludes: true
35+
IncludeCategories:
36+
- Regex: '<carb\/.+>'
37+
Priority: 2
38+
- Regex: '<[[:alnum:]_.]+>'
39+
Priority: 4
40+
- Regex: '<[[:alnum:]_.\/]+>'
41+
Priority: 3
42+
- Regex: '".*"'
43+
Priority: 1
44+
IncludeBlocks: Regroup
45+
Language: Cpp
46+
MaxEmptyLinesToKeep: 2
47+
NamespaceIndentation: None
48+
ObjCSpaceAfterProperty: true
49+
ObjCSpaceBeforeProtocolList: true
50+
PenaltyBreakBeforeFirstCallParameter: 0
51+
PenaltyBreakComment: 1
52+
PenaltyBreakFirstLessLess: 0
53+
PenaltyBreakString: 1
54+
PenaltyExcessCharacter: 10
55+
PenaltyReturnTypeOnItsOwnLine: 1000
56+
PointerAlignment: Left
57+
SpaceBeforeAssignmentOperators: true
58+
SpaceBeforeParens: ControlStatements
59+
SpaceInEmptyParentheses: false
60+
SpacesBeforeTrailingComments: 1
61+
SpacesInAngles: false
62+
SpacesInCStyleCastParentheses: false
63+
SpacesInContainerLiterals: false
64+
SpacesInParentheses: false
65+
Standard: Cpp11
66+
ReflowComments: true
67+
TabWidth: 4
68+
UseTab: Never

blast/.editorconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[*]
2+
indent_style = space
3+
indent_size = 4
4+
charset = utf-8
5+
trim_trailing_whitespace = true
6+
max_line_length = 120
7+
insert_final_newline = true

blast/.flake8

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[flake8]
2+
ignore=E402,E501,W503
3+
max-line-length = 120
4+
max-complexity = 18
5+
exclude=_*,.vscode,.git

blast/.gitattributes

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Normalize text files on commit to LF endings by default
2+
* text=auto
3+
# Make sure Windows batch files preserve CR/LF line endings, otherwise they may not be able to execute. Windows
4+
# batch files require a CR/LF for labels to work properly, otherwise they may fail when labels straddle 512-byte
5+
# block boundaries. This is important when files are downloaded through a zip archive that was authored on a
6+
# Linux machine (the default behavior on GitHub)
7+
*.bat text eol=crlf
8+
*.cmd text eol=crlf
9+
# Make sure shell scripts have LF line endings, even when checked out on a Windows client with autocrlf=true
10+
*.sh text eol=lf
11+
12+
# All files under data go into Git LFS
13+
data/** filter=lfs diff=lfs merge=lfs -text
14+
docs/images/** filter=lfs diff=lfs merge=lfs -text
15+
source/extensions/**/data/** filter=lfs diff=lfs merge=lfs -text

blast/.gitignore

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# all folders starting with _ are local
2+
_*/
3+
# exclude local website repo, used for publishing
4+
website/
5+
6+
.lastrun
7+
.lastformat
8+
.lastverify
9+
.DS_Store
10+
**/.vscode/ipch
11+
Makefile
12+
*.swp
13+
*.swo
14+
15+
# byte-compiled python files
16+
*.py[cod]
17+
18+
# pip cache
19+
.cache
20+
21+
# packman package files
22+
*@*.7z
23+
*@*.zip
24+
*@*.txt
25+
26+
# packaged unittest archives
27+
/test_binaries-*.zip
28+
/tests-*.zip
29+
/run_tests.*
30+
*.sh1
31+
32+
# patch files
33+
*.diff
34+
*.patch
35+
36+
# binaries
37+
*.ico
38+
*.bmp
39+
*.png
40+
*.gif
41+
*.jpg
42+
*.jpeg
43+
*.tga
44+
*.psd
45+
*.raw
46+
*.exr
47+
*.hdr
48+
*.dds
49+
*.ktx
50+
*.spv
51+
*.dxbc
52+
*.dxil
53+
*.gltf
54+
*.glb
55+
*.fbx
56+
*.usd
57+
*.usda
58+
*.usdz
59+
*.obj
60+
*.mat
61+
62+
*.suo
63+
64+
# ignore the autoexec.lst file
65+
autoexec.lst
66+
67+
# don't ignore carb.usd folder
68+
!*.usd/
69+
70+
NvfPerflog.txt
71+
imgui.ini
72+
CON
73+
74+
# packman .user config
75+
*.packman.xml.user
76+
77+
# kit user config
78+
deps/**/user.toml
79+
80+
# allow anything in data, docs/images, ext data (under Git LFS management)
81+
!data/**
82+
!docs/images/**
83+
!source/extensions/**/data/**
84+
85+
# ignore the cache
86+
data/cache
87+
88+
# vscode settings are copied and filled in from 'settings.json.template'
89+
.vscode/settings.json
90+
91+
symbols.txt
92+
/.vs
93+
94+
# petert: temp file i create for debugging
95+
output.txt
96+
97+
# PACKAGE-LICENSES/
98+
99+
PACKAGE-DEPS.yaml

blast/PACKAGE-INFO.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Package : blast-sdk
2+
Maintainers : Bryan Galdrikian, Eric Arnold
3+
Description : Blast destruction SDK
4+
SWIPAT NvBug :
5+
Repository : https://gitlab-master.nvidia.com/omniverse/blast-sdk
6+
License Type : NVIDIA
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// Redistribution and use in source and binary forms, with or without
2+
// modification, are permitted provided that the following conditions
3+
// are met:
4+
// * Redistributions of source code must retain the above copyright
5+
// notice, this list of conditions and the following disclaimer.
6+
// * Redistributions in binary form must reproduce the above copyright
7+
// notice, this list of conditions and the following disclaimer in the
8+
// documentation and/or other materials provided with the distribution.
9+
// * Neither the name of NVIDIA CORPORATION nor the names of its
10+
// contributors may be used to endorse or promote products derived
11+
// from this software without specific prior written permission.
12+
//
13+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY
14+
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15+
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16+
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
17+
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18+
// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19+
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20+
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21+
// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22+
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23+
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24+
//
25+
// Copyright (c) 2016-2022 NVIDIA Corporation. All rights reserved.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Boost Software License - Version 1.0 - August 17th, 2003
2+
3+
Permission is hereby granted, free of charge, to any person or organization
4+
obtaining a copy of the software and accompanying documentation covered by
5+
this license (the "Software") to use, reproduce, display, distribute,
6+
execute, and transmit the Software, and to prepare derivative works of the
7+
Software, and to permit third-parties to whom the Software is furnished to
8+
do so, all subject to the following:
9+
10+
The copyright notices in the Software and this entire statement, including
11+
the above license grant, this restriction and the following disclaimer,
12+
must be included in all copies of the Software, in whole or in part, and
13+
all derivative works of the Software, unless such copies or derivative
14+
works are solely in the form of machine-executable object code generated by
15+
a source language processor.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
20+
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
21+
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
22+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23+
DEALINGS IN THE SOFTWARE.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Copyright (c) 2011 Khaled Mamou (kmamou at gmail dot com)
2+
All rights reserved.
3+
4+
5+
Redistribution and use in source and binary forms, with or without
6+
modification, are permitted provided that the following conditions are met:
7+
8+
1. Redistributions of source code must retain the above copyright notice,
9+
this list of conditions and the following disclaimer.
10+
11+
2. Redistributions in binary form must reproduce the above copyright notice,
12+
this list of conditions and the following disclaimer in the documentation
13+
and/or other materials provided with the distribution.
14+
15+
3. The names of the contributors may not be used to endorse or promote
16+
products derived from this software without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
22+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28+
POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)