コード例 #1
0
ファイル: CMatrix3x3.cpp プロジェクト: cugone/Abrams2010
a2de::Vector3D operator*(const Matrix3x3& lhs, const Vector3D& rhs) {
    return Vector3D(a2de::Vector3D::DotProduct(lhs.GetRowOne(), rhs),
                    a2de::Vector3D::DotProduct(lhs.GetRowTwo(), rhs),
                    a2de::Vector3D::DotProduct(lhs.GetRowThree(), rhs));
}