our_physics.h

来自「mtk 3D 游戏移植 试玩 带引擎源码」· C头文件 代码 · 共 61 行

H
61 行
字号
/**************************************************************************
Copyright (C) jianbo miao Corporation.  All Rights Released.
this is a 3d engin named our_3d_engin.
our_3d_engin feature:
1:there is no float.
2:it do the 3d things all by softwear.
3:base on 1 and 2 , it can execution on arm which have no 3d hardwear accelerate.

  if you have any  suggestion or question,pls contact with me
  mail:miaojb@126.com
  msn:miaojianbo@hotmail.com
  qq:30209027
  
    2008/01/01
***************************************************************************/

#ifndef OUR_PHYSICS_H
#define OUR_PHYSICS_H
#include "our_cpu.h"

typedef enum    //for the 3 status of MMI_STATU.opt_dir
{
   OUR_FIZIX_,
}FIZIX_TYPE;



typedef struct OUR_FIZIK_STAT 
{
    UINT t;         //ms
    
    INT vx;         //
    INT vy;         //
    
    INT ax;         //
    INT ay;         //
    
    INT sx;         //
    INT sy;         //
} OUR_FIZIK_STAT,*OUR_FIZIK_STAT_PTR;

typedef struct OUR_FIZIK_X_STAT 
{
    UINT t;         //ms
    UINT type;
    
    
    INT vx;         //
    
    INT ax;         //
    
    INT sx;         //
    
    INT sx_aim;         //

    INT max,min;
} OUR_FIZIK_X_STAT,*OUR_FIZIK_X_STAT_PTR;


#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?