diff options
author | chai <chaifix@163.com> | 2019-06-09 21:12:25 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-06-09 21:12:25 +0800 |
commit | 8ee3f7453bf7b0db5c7358e697e91714d825c87d (patch) | |
tree | 57283565219d1808b47bbd4a883a5a52b6eb7bae /source/modules/asura-core/graphics/matrix_stack.h | |
parent | d7a972a0f16da0fd7bf4c0b70913920216ff3113 (diff) |
*misc
Diffstat (limited to 'source/modules/asura-core/graphics/matrix_stack.h')
-rw-r--r-- | source/modules/asura-core/graphics/matrix_stack.h | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/source/modules/asura-core/graphics/matrix_stack.h b/source/modules/asura-core/graphics/matrix_stack.h index 1a318fa..ae983e7 100644 --- a/source/modules/asura-core/graphics/matrix_stack.h +++ b/source/modules/asura-core/graphics/matrix_stack.h @@ -27,9 +27,6 @@ namespace AsuraEngine MatrixStack(); ~MatrixStack(); - /// - /// ջԪصIJֻͨºʵ - /// void LoadIdentity(); bool Push(); bool Pop(); @@ -40,39 +37,19 @@ namespace AsuraEngine void LoadMatrix(const AEMath::Matrix44& mat44); void MultMatrix(const AEMath::Matrix44& mat44); - /// - /// 任 - /// void Rotate(float angle); void Translate(float x, float y); void Scale(float x, float y); - /// - /// ͶӰ任 - /// void Ortho(float l, float r, float b, float t, float n, float f); - //void Perspective(float fov, float aspect, float near, float far); - //void Frustum(float left, float right, float top, float bottom, float near, float far); - //void LookAt(float x, float y, float z, float cx, float cy, float cz, float ux, float uy, float uz); - /// - /// ջΧ0~ASURA_MAX_MATRIX_STACK_DEPTH-1 - /// uint GetTopIndex(); - - /// - /// ջASURA_MAX_MATRIX_STACK_DEPTH - /// uint GetCapacity(); private: AEMath::Matrix44 mStack[ASURA_MAX_MATRIX_STACK_DEPTH]; - - /// - /// ջ0~ASURA_MAX_MATRIX_STACK_DEPTH-1 - /// - uint8 top; + uint8 top; }; |