Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IceMatrix3x3.cpp
Go to the documentation of this file.
1 
8 
11 
32 
35 // Precompiled Header
36 #include "Stdafx.h"
37 
38 
39 using namespace Opcode;
40 
41 // Cast operator
42 Matrix3x3::operator Matrix4x4() const
43 {
44  return Matrix4x4(
45  m[0][0], m[0][1], m[0][2], 0.0f,
46  m[1][0], m[1][1], m[1][2], 0.0f,
47  m[2][0], m[2][1], m[2][2], 0.0f,
48  0.0f, 0.0f, 0.0f, 1.0f);
49 }
50