From b0c11962f6012430da3bcaa2727288046b33d648 Mon Sep 17 00:00:00 2001 From: Bryan Galdrikian Date: Tue, 24 Oct 2017 15:25:02 -0700 Subject: Changes for 1.1.1 See README.md --- docs/api_docs/files/pagehlapi.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/api_docs/files/pagehlapi.html') diff --git a/docs/api_docs/files/pagehlapi.html b/docs/api_docs/files/pagehlapi.html index 4c1045f..d0a31d5 100644 --- a/docs/api_docs/files/pagehlapi.html +++ b/docs/api_docs/files/pagehlapi.html @@ -210,7 +210,7 @@ Examples of the three TkActor damage methods are given below.


Multiple Damage Descriptors using NvBlastProgramParams

-N.B. - with this method of damage, the lifetime of the NvBlastProgramParams must extend at least until the TkGroup::endProcess call for the actor.

+N.B. - with this method of damage, the lifetime of the NvBlastProgramParams must extend at least until the TkGroup::endProcess call for the actor.

NvBlastDamageProgram program =
 {
     myGraphShaderFunction,      // A function with the NvBlastGraphShaderFunction signature
@@ -242,7 +242,7 @@ material.minDamageThreshold = 0.1f;
 material.maxDamageThreshold = 0.8f;
 
 // Set the damage params struct
-NvBlastProgramParams params = { damageDescs, 2, &material };
+NvBlastProgramParams params = { damageDescs, 2, &material };
 
 // Apply damage
 actor->damage(program, &params);    // params must be kept around until TkGroup::endProcess is called!
-- 
cgit v1.2.3