special_instruction

来自「[Game.Programming].Academic - Graphics G」· 代码 · 共 15 行

TXT
15
字号
// ******************************************************************//// The following C++ code computes a sample point and its probability // on the spherical or triangular luminaire according to the solid // angle from the view point.  These are the center part of the direct // lighting computation via Monte Carlo integration.//// The function hit() is assumed to exist. It returns the intersection // point of a ray and a luminaire.//  // Use the command, CC -c *.C -lm, to compile (not link).  The code // needs to be combined with a ray tracer to complete. // ******************************************************************

⌨️ 快捷键说明

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