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

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 are shown as follows: "The ambient component is computed and stored in the variable named ambient".

A block of code is set as follows:

#version 400

in vec3 LightIntensity;

layout( location = 0 ) out vec4 FragColor;

void main() {
    FragColor = vec4(LightIntensity, 1.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:

QGLFormat format;
format.setVersion(4,0);
format.setProfile(QGLFormat::CoreProfile);
QGLWidget *myWidget = new QGLWidget(format);

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: "The four corners of the quad are given by: e0 – ext, e0 – n – ext, e1 + ext, and e1 –n + ext as shown in the preceding diagram".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 哈密市| 吴川市| 定安县| 黑山县| 张家界市| 昭觉县| 元阳县| 商南县| 会理县| 高州市| 常州市| 保亭| 册亨县| 湖北省| 蒙山县| 迁西县| 吉木萨尔县| 高尔夫| 丹巴县| 广饶县| 石门县| 阳泉市| 重庆市| 富锦市| 原阳县| 弥渡县| 武汉市| 信阳市| 塘沽区| 清丰县| 崇仁县| 大埔县| 和田市| 峨边| 永宁县| 孟村| 司法| 志丹县| 博湖县| 乌兰县| 应城市|