# matrix.c

`#include "../dxlibp.h"`
matrix.cのインクルード依存関係図

## 関数
MATRIX | MGetIdent ()
MATRIX | MGetScale (VECTOR v)
MATRIX | MGetTranslate (VECTOR v)
MATRIX | MGetRotX (float angle)
MATRIX | MGetRotY (float angle)
MATRIX | MGetRotZ (float angle)
MATRIX | MGetRotAxis (VECTOR v, float angle)
MATRIX | MGetRotVec2 (VECTOR v1, VECTOR v2)
MATRIX | MGetAxis1 (VECTOR xAxis, VECTOR yAxis, VECTOR zAxis, VECTOR pos)
MATRIX | MGetAxis2 (VECTOR xAxis, VECTOR yAxis, VECTOR zAxis, VECTOR pos)
MATRIX | MAdd (MATRIX m1, MATRIX m2)
MATRIX | MMult (MATRIX m1, MATRIX m2)
MATRIX | MScale (MATRIX m, float scale)
MATRIX | MTranspose (MATRIX m)
MATRIX | MInverse (MATRIX m)

## 関数

MATRIX MAdd | ( | MATRIX | m1,
|  | MATRIX | m2 |
| ) |  |  |

MATRIX MGetAxis1 | ( | VECTOR | xAxis,
|  | VECTOR | yAxis,
|  | VECTOR | zAxis,
|  | VECTOR | pos |
| ) |  |  |

MATRIX MGetAxis2 | ( | VECTOR | xAxis,
|  | VECTOR | yAxis,
|  | VECTOR | zAxis,
|  | VECTOR | pos |
| ) |  |  |

MATRIX MGetIdent | ( |  | ) |

MATRIX MGetRotAxis | ( | VECTOR | v,
|  | float | angle |
| ) |  |  |

MATRIX MGetRotVec2 | ( | VECTOR | v1,
|  | VECTOR | v2 |
| ) |  |  |

MATRIX MGetRotX | ( | float | angle | ) |

MATRIX MGetRotY | ( | float | angle | ) |

MATRIX MGetRotZ | ( | float | angle | ) |

MATRIX MGetScale | ( | VECTOR | v | ) |

MATRIX MGetTranslate | ( | VECTOR | v | ) |

MATRIX MInverse | ( | MATRIX | m | ) |

MATRIX MMult | ( | MATRIX | m1,
|  | MATRIX | m2 |
| ) |  |  |

MATRIX MScale | ( | MATRIX | m,
|  | float | scale |
| ) |  |  |

MATRIX MTranspose | ( | MATRIX | m | ) |