Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Niflib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Grant Kim
Niflib
Commits
2ddfdbbf
Commit
2ddfdbbf
authored
15 years ago
by
Tazpn
Browse files
Options
Downloads
Patches
Plain Diff
niflib: add subshapes to hkPackedNiTriStripsData
parent
24b0e11e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/obj/hkPackedNiTriStripsData.h
+12
-0
12 additions, 0 deletions
include/obj/hkPackedNiTriStripsData.h
src/obj/hkPackedNiTriStripsData.cpp
+10
-0
10 additions, 0 deletions
src/obj/hkPackedNiTriStripsData.cpp
with
22 additions
and
0 deletions
include/obj/hkPackedNiTriStripsData.h
+
12
−
0
View file @
2ddfdbbf
...
...
@@ -109,6 +109,18 @@ public:
*/
NIFLIB_API
virtual
void
SetVertices
(
const
vector
<
Vector3
>
&
in
);
/*!
* Retrieves the subshape data object used by this geometry node, if any.
* \return The subshape data object.
*/
NIFLIB_API
vector
<
OblivionSubShape
>
GetSubShapes
()
const
;
/*!
* Sets the subshape data object used by this geometry node.
* \param[in] value The subshape data.
*/
NIFLIB_API
void
SetSubShapes
(
vector
<
OblivionSubShape
>&
value
);
//--END CUSTOM CODE--//
protected:
/*! Number of triangles? */
...
...
This diff is collapsed.
Click to expand it.
src/obj/hkPackedNiTriStripsData.cpp
+
10
−
0
View file @
2ddfdbbf
...
...
@@ -253,4 +253,14 @@ void hkPackedNiTriStripsData::SetVertices( const vector<Vector3> & in ) {
vertices
=
in
;
}
vector
<
OblivionSubShape
>
hkPackedNiTriStripsData
::
GetSubShapes
()
const
{
return
subShapes
;
}
void
hkPackedNiTriStripsData
::
SetSubShapes
(
vector
<
OblivionSubShape
>&
value
)
{
numSubShapes
=
value
.
size
();
subShapes
=
value
;
}
//--END CUSTOM CODE--//
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment