Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Rasterisation Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
sr1g19
Rasterisation Project
Commits
97ee9657
Commit
97ee9657
authored
4 years ago
by
sr1g19
Browse files
Options
Downloads
Patches
Plain Diff
Delete 3x3matrix.h
parent
308507c2
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/matrix/3x3matrix.h
+0
-42
0 additions, 42 deletions
src/matrix/3x3matrix.h
with
0 additions
and
42 deletions
src/matrix/3x3matrix.h
deleted
100644 → 0
+
0
−
42
View file @
308507c2
#ifndef _3X3MATRIX_H
#define _3X3MATRIX_H
#include
<stdint.h>
#define _mA a11
#define _mB a12
#define _mC a13
#define _mD a21
#define _mE a22
#define _mF a23
#define _mG a31
#define _mH a32
#define _mI a33
typedef
struct
{
float
a11
,
a12
,
a13
,
a21
,
a22
,
a23
,
a31
,
a32
,
a33
;
}
_3x3Matrix
;
typedef
struct
{
float
a11
,
a21
,
a31
;
}
_3x1Matrix
;
_3x3Matrix
add_3x3
(
_3x3Matrix
m1
,
_3x3Matrix
m2
);
_3x3Matrix
minus_3x3
(
_3x3Matrix
m1
,
_3x3Matrix
m2
);
_3x3Matrix
multiply_3x3
(
_3x3Matrix
m1
,
_3x3Matrix
m2
);
_3x3Matrix
scale_3x3
(
_3x3Matrix
m1
,
float
scale
);
float
det_3x3
(
_3x3Matrix
m
);
_3x3Matrix
inverse_3x3
(
_3x3Matrix
m
);
_3x1Matrix
add_3x1
(
_3x1Matrix
m1
,
_3x1Matrix
m2
);
_3x1Matrix
minus_3x1
(
_3x1Matrix
m1
,
_3x1Matrix
m2
);
_3x3Matrix
combine
(
_3x1Matrix
m1
,
_3x1Matrix
m2
,
_3x1Matrix
m3
);
_3x1Matrix
transpose_3x3
(
_3x3Matrix
m1
,
_3x1Matrix
m2
);
unsigned
char
equals_3x3
(
_3x3Matrix
m1
,
_3x3Matrix
m2
);
_3x1Matrix
crossProduct
(
_3x1Matrix
m1
,
_3x1Matrix
m2
);
#endif //_3X3MATRIX_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