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

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.

主站蜘蛛池模板: 固始县| 仪征市| 榕江县| 夏邑县| 宝清县| 通榆县| 浦县| 个旧市| 建平县| 绥芬河市| 化州市| 耒阳市| 龙陵县| 略阳县| 丰都县| 康乐县| 武冈市| 昌乐县| 隆林| 大邑县| 天峨县| 海林市| 南川市| 临朐县| 通化县| 海安县| 塔城市| 松江区| 信阳市| 盱眙县| 巴彦淖尔市| 彭阳县| 卢湾区| 栾川县| 宁明县| 安陆市| 巴中市| 万山特区| 山阴县| 辉南县| 隆子县|