Skip to content

Commit

Permalink
docs: translate comment to english
Browse files Browse the repository at this point in the history
  • Loading branch information
06wj committed May 18, 2016
1 parent 3580268 commit 10c96d4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions src/game/Camera3d.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
* @requires hilo/core/Hilo
* @requires hilo/core/Class
* @property {Number} fv The distance of the fov(The distance between eyes and the Z plane,it determines the scale ratio of the 3d object).
* @property {Number} fx The x position of the screen viewpoint(屏幕视点相对屏幕左上角X距离).
* @property {Number} fy The y position of the screen viewpoint(屏幕视点相对屏幕左上角Y距离).
* @property {Number} fx The x position of the screen viewpoint(The distance between the screen viewpoint and the screen left top corner on the x axis).
* @property {Number} fy The y position of the screen viewpoint(The distance between the screen viewpoint and the screen left top corner on the y axis).
* @property {Object} stage The 3d object's container, it can be stage or container.It is required if you need to sort the 3d object by z axis.
* @property {Number} x The x position.
* @property {Number} y The y position.
Expand Down Expand Up @@ -81,16 +81,16 @@ var Camera3d = (function(){
/**
* @language=en
* Translate the camera,used for Zoomin/out feature.
* @param {Number} x坐标
* @param {Number} y坐标
* @param {Number} z坐标
* @param {Number} x The x position.
* @param {Number} y The y position.
* @param {Number} z The z position.
*/
/**
* @language=zh
* 仿射矩阵位移变换,不同于直接修改Camera3d.x/y/z. 是在Camera3d依次做坐标位移 - 旋转变换 后,再加上一个位移变换。主要功能可以做Zoomin/out 功能
* @param {Number} x坐标
* @param {Number} y坐标
* @param {Number} z坐标
* @param {Number} x x坐标
* @param {Number} y y坐标
* @param {Number} z z坐标
*/
translate : function(x,y,z){
this.tx = x;
Expand Down Expand Up @@ -217,7 +217,7 @@ var Camera3d = (function(){

/**
* @language=en
* Used for ticker.
* Used for the ticker.
*/
/**
* @language=zh
Expand Down
4 changes: 2 additions & 2 deletions src/util/Ticker.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ var Ticker = Class.create(/** @lends Ticker.prototype */{

/**
* @language=en
* Add tickObject. A tickObject must implement the tick method.
* @param {Object} tickObject 要添加的定时器对象。此对象必须包含 tick 方法。
* Add tickObject. The tickObject must implement the tick method.
* @param {Object} tickObject The tickObject to add.It must implement the tick method.
*/
/**
* @language=zh
Expand Down

0 comments on commit 10c96d4

Please sign in to comment.