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
f1fefaf0
Commit
f1fefaf0
authored
19 years ago
by
Amorilia
Browse files
Options
Downloads
Patches
Plain Diff
fixed broken SWIG wrapper; still needs some more fixing...
parent
77da2104
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
NIF_IO.h
+3
-1
3 additions, 1 deletion
NIF_IO.h
nif_math.h
+1
-1
1 addition, 1 deletion
nif_math.h
pyniflib.i
+7
-7
7 additions, 7 deletions
pyniflib.i
with
11 additions
and
9 deletions
NIF_IO.h
+
3
−
1
View file @
f1fefaf0
...
@@ -89,7 +89,9 @@ typedef uint writeResult;
...
@@ -89,7 +89,9 @@ typedef uint writeResult;
//typedef uint nifIndex;
//typedef uint nifIndex;
typedef
ushort
nifFlags
;
typedef
ushort
nifFlags
;
#ifndef NULL
#define NULL 0
#define NULL 0
#endif
/* Valid values for some texturingproperty attributes. */
/* Valid values for some texturingproperty attributes. */
typedef
enum
{
typedef
enum
{
...
@@ -276,4 +278,4 @@ private:
...
@@ -276,4 +278,4 @@ private:
#endif // TAH_NIF_LIB_NIF_IO_H
#endif // TAH_NIF_LIB_NIF_IO_H
\ No newline at end of file
This diff is collapsed.
Click to expand it.
nif_math.h
+
1
−
1
View file @
f1fefaf0
...
@@ -58,4 +58,4 @@ void SetIdentity44( Matrix44 & m );
...
@@ -58,4 +58,4 @@ void SetIdentity44( Matrix44 & m );
void
PrintMatrix33
(
Matrix33
&
m
,
ostream
&
out
);
void
PrintMatrix33
(
Matrix33
&
m
,
ostream
&
out
);
Quaternion
MatrixToQuat
(
Matrix33
&
m
);
Quaternion
MatrixToQuat
(
Matrix33
&
m
);
#endif
#endif
\ No newline at end of file
This diff is collapsed.
Click to expand it.
pyniflib.i
+
7
−
7
View file @
f1fefaf0
...
@@ -43,14 +43,14 @@ POSSIBILITY OF SUCH DAMAGE. */
...
@@ -43,14 +43,14 @@ POSSIBILITY OF SUCH DAMAGE. */
try {
try {
$action
$action
}
}
SWIG_CATCH_STDEXCEPT // catch std::exception
//
SWIG_CATCH_STDEXCEPT // catch std::exception
catch (...) {
catch (...) {
SWIG_exception(SWIG_UnknownError, "Unknown exception");
SWIG_exception(SWIG_UnknownError, "Unknown exception");
}
}
}
}
%
{
%
{
#include "
NIFlib/
niflib.h"
#include "niflib.h"
%}
%}
template
<
class
T
>
template
<
class
T
>
...
@@ -62,7 +62,7 @@ struct Key {
...
@@ -62,7 +62,7 @@ struct Key {
%
template
(
vector_float
)
std
::
vector
<
float
>
;
%
template
(
vector_float
)
std
::
vector
<
float
>
;
%
template
(
vector_blk_ref
)
std
::
vector
<
blk_ref
>
;
%
template
(
vector_blk_ref
)
std
::
vector
<
blk_ref
>
;
%
template
(
vector_Vector3
D
)
std
::
vector
<
Vector3
D
>
;
%
template
(
vector_Vector3
)
std
::
vector
<
Vector3
>
;
%
template
(
vector_Color
)
std
::
vector
<
Color
>
;
%
template
(
vector_Color
)
std
::
vector
<
Color
>
;
%
template
(
vector_UVCoord
)
std
::
vector
<
UVCoord
>
;
%
template
(
vector_UVCoord
)
std
::
vector
<
UVCoord
>
;
%
template
(
vector_Triangle
)
std
::
vector
<
Triangle
>
;
%
template
(
vector_Triangle
)
std
::
vector
<
Triangle
>
;
...
@@ -71,13 +71,13 @@ struct Key {
...
@@ -71,13 +71,13 @@ struct Key {
%
template
(
map_int_float
)
std
::
map
<
int
,
float
>
;
%
template
(
map_int_float
)
std
::
map
<
int
,
float
>
;
%
template
(
Key_Quaternion
)
Key
<
Quaternion
>
;
%
template
(
Key_Quaternion
)
Key
<
Quaternion
>
;
%
template
(
vector_Key_Quaternion
)
std
::
vector
<
Key
<
Quaternion
>
>
;
%
template
(
vector_Key_Quaternion
)
std
::
vector
<
Key
<
Quaternion
>
>
;
%
template
(
Key_Vector3
D
)
Key
<
Vector3
D
>
;
%
template
(
Key_Vector3
)
Key
<
Vector3
>
;
%
template
(
vector_Key_Vector3
D
)
std
::
vector
<
Key
<
Vector3
D
>
>
;
%
template
(
vector_Key_Vector3
)
std
::
vector
<
Key
<
Vector3
>
>
;
%
template
(
Key_float
)
Key
<
float
>
;
%
template
(
Key_float
)
Key
<
float
>
;
%
template
(
vector_Key_float
)
std
::
vector
<
Key
<
float
>
>
;
%
template
(
vector_Key_float
)
std
::
vector
<
Key
<
float
>
>
;
%
template
(
Key_string
)
Key
<
std
::
string
>
;
%
template
(
Key_string
)
Key
<
std
::
string
>
;
%
template
(
vector_Key_string
)
std
::
vector
<
Key
<
std
::
string
>
>
;
%
template
(
vector_Key_string
)
std
::
vector
<
Key
<
std
::
string
>
>
;
%
include
"
../NIFlib/
niflib.h
"
%
include
"
niflib.h
"
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