官术网_书友最值得收藏!

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Start by creating a new class called GameCharacterControl, which extends BetterCharacterControl."

A block of code is set as follows:

public void update(float tpf) {
  super.update(tpf);
  Vector3f modelForwardDir = spatial.getWorldRotation().mult(Vector3f.UNIT_Z);
  Vector3f modelLeftDir = spatial.getWorldRotation().mult(Vector3f.UNIT_X);
  walkDirection.set(0, 0, 0);

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

camLocation.setY(checkHeight() + camDistance);
cam.setLocation(camLocation);

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Go to the File menu and select Import Model."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 南康市| 定安县| 百色市| 新疆| 丹寨县| 天柱县| 丹东市| 平乐县| 翁牛特旗| 迭部县| 新乡县| 安龙县| 工布江达县| 江口县| 闻喜县| 吉安市| 怀来县| 寿宁县| 德兴市| 萍乡市| 湘乡市| 班戈县| 庆城县| 雅安市| 荆门市| 榆树市| 股票| 离岛区| 四川省| 阿拉善左旗| 尉犁县| 修文县| 调兵山市| 巴塘县| 金秀| 赤城县| 通渭县| 贵州省| 达日县| 静乐县| 壶关县|