-------------------------------------------------------------------------------- Description: Manually adding a float parameter to this effect's list with creating it --------------------------------------------------------------------------------
| 502 | // it |
| 503 | // -------------------------------------------------------------------------------- |
| 504 | bool Tr2Effect::AddParameterFloat( const BlueSharedString& name, float value ) |
| 505 | { |
| 506 | // turn float vlaue into a vector4, cause that's what we put into constant parameters |
| 507 | Vector4 vec4( value, value, value, value ); |
| 508 | return AddParameterVector4( name, &vec4 ); |
| 509 | } |
| 510 | |
| 511 | // -------------------------------------------------------------------------------- |
| 512 | // Description: |
no outgoing calls
no test coverage detected