Physics4K
2013-06-04
Physics4K is the next great evolution in 2D physics engines. built upon the C++ Game Framework, it is going to take the next generation gaming world by storm.
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Friends
Macros
Matrix22.h
Go to the documentation of this file.
1
// Filename: Matrix22.h
4
5
//Preprocessor directive designed to cause the current source file to be included only once in a single compilation
6
#pragma once
7
8
//Includes
9
#include "
PKInclude.h
"
10
#include <math.h>
11
#include "
Vector2f.h
"
12
13
namespace
PK
14
{
15
class
PK_API
Matrix22
16
{
17
public
:
18
Matrix22
();
19
Matrix22
(
float
angle);
20
Matrix22
(
float
col11,
float
col12,
float
col21,
float
col22);
21
Matrix22
(
Vector2f
col1,
Vector2f
col2);
22
Matrix22
(
const
Matrix22
& copy);
23
~
Matrix22
();
24
25
void
Transpose();
26
void
Transpose(
Matrix22
& mat);
27
bool
Invert();
28
29
Matrix22
& operator=(
const
Matrix22
¶m);
30
Matrix22
& operator+= (
const
Matrix22
¶m);
31
Matrix22
& operator-= (
const
Matrix22
¶m);
32
Matrix22
& operator*= (
const
Matrix22
¶m);
33
Matrix22
& operator*= (
const
float
¶m);
34
const
Matrix22
operator+ (
const
Matrix22
¶m)
const
;
35
const
Matrix22
operator- (
const
Matrix22
¶m)
const
;
36
const
Matrix22
operator*
(
const
Matrix22
¶m)
const
;
37
const
Matrix22
operator*
(
const
float
¶m)
const
;
38
39
const
Vector2f
operator*
(
const
Vector2f
¶m)
const
;
40
41
public
:
42
Vector2f
Column1
;
43
Vector2f
Column2
;
44
};
45
}
Users
Paul
Dropbox
Documents
Projects
Physics4K
Code
Source
Physics4K
Matrix22.h
Generated on Tue Jun 4 2013 19:08:46 for Physics4K by
1.8.4