- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
package _3d
{
public class Matrix3d extends Object
{
public var _12:Number;
public var _11:Number;
public var _13:Number;
public var _14:Number;
public var _32:Number;
public var _41:Number;
public var _42:Number;
public var _21:Number;
public var _22:Number;
public var _23:Number;
public var _24:Number;
public var _43:Number;
public var _44:Number;
public var _34:Number;
public var _31:Number;
public var _33:Number;
public function Matrix3d(param1:Number = 1, param2:Number = 0, param3:Number = 0, param4:Number = 0, param5:Number = 0, param6:Number = 1, param7:Number = 0, param8:Number = 0, param9:Number = 0, param10:Number = 0, param11:Number = 1, param12:Number = 0, param13:Number = 0, param14:Number = 0, param15:Number = 0, param16:Number = 1)
{
_11 = param1;
_12 = param2;
_13 = param3;
_14 = param4;
_21 = param5;
_22 = param6;
_23 = param7;
_24 = param8;
_31 = param9;
_32 = param10;
_33 = param11;
_34 = param12;
_41 = param13;
_42 = param14;
_43 = param15;
_44 = param16;
return;
}// end function
public function toString() : String
{
return _11 + "," + _12 + "," + _13 + "," + _14 + "," + _21 + "," + _22 + "," + _23 + "," + _24 + "," + _31 + "," + _32 + "," + _33 + "," + _34 + "," + _41 + "," + _42 + "," + _43 + "," + _44;
}// end function
public static function product(param1:Matrix3d, param2:Matrix3d) : Matrix3d
{
return new Matrix3d(param1._11 * param2._11 + param1._12 * param2._21 + param1._13 * param2._31 + param1._14 * param2._41, param1._11 * param2._12 + param1._12 * param2._22 + param1._13 * param2._32 + param1._14 * param2._42, param1._11 * param2._13 + param1._12 * param2._23 + param1._13 * param2._33 + param1._14 * param2._43, param1._11 * param2._14 + param1._12 * param2._24 + param1._13 * param2._34 + param1._14 * param2._44, param1._21 * param2._11 + param1._22 * param2._21 + param1._23 * param2._31 + param1._24 * param2._41, param1._21 * param2._12 + param1._22 * param2._22 + param1._23 * param2._32 + param1._24 * param2._42, param1._21 * param2._13 + param1._22 * param2._23 + param1._23 * param2._33 + param1._24 * param2._43, param1._21 * param2._14 + param1._22 * param2._24 + param1._23 * param2._34 + param1._24 * param2._44, param1._31 * param2._11 + param1._32 * param2._21 + param1._33 * param2._31 + param1._34 * param2._41, param1._31 * param2._12 + param1._32 * param2._22 + param1._33 * param2._32 + param1._34 * param2._42, param1._31 * param2._13 + param1._32 * param2._23 + param1._33 * param2._33 + param1._34 * param2._43, param1._31 * param2._14 + param1._32 * param2._24 + param1._33 * param2._34 + param1._34 * param2._44, param1._41 * param2._11 + param1._42 * param2._21 + param1._43 * param2._31 + param1._44 * param2._41, param1._41 * param2._12 + param1._42 * param2._22 + param1._43 * param2._32 + param1._44 * param2._42, param1._41 * param2._13 + param1._42 * param2._23 + param1._43 * param2._33 + param1._44 * param2._43, param1._41 * param2._14 + param1._42 * param2._24 + param1._43 * param2._34 + param1._44 * param2._44);
}// end function
}
}
3.14159265 21.12.2010 13:06 # +1
Govnocoder#0xFF 21.12.2010 13:51 # 0
Название говорит само за себя. Matrix3d.ass
Анонимус 21.12.2010 14:50 # 0
Govnocoder#0xFF 21.12.2010 14:57 # 0
Oleg_quadro 21.12.2010 20:54 # 0
Lure Of Chaos 21.12.2010 20:58 # +1