3 ms·
lol, look at those enterprise type comments - //+---------------------------------------------------------------------------- // // Function: GetDefau
by agnivade 10y ago
lol, look at those enterprise type comments -
//+----------------------------------------------------------------------------
//
// Function: GetDefaultInitValue
//
// Synopsis: Returns a string that contains the default HLSL value for
// the component of this type. Should not be called on sampler
// or void types, as there are no values to init with.
//
//------------------------------------------------------------------------
- romanovcode 10y agobetter enterprise comments than no comments
- antoinealb 10y agoActually this comment contains useful information such as validity domain (should not be called on samplers or void types) and justification for this domain (there are not values to init with). Much better than the crap comments I see on a lot of projects such as "# does this even work ? lol"
- deleted 10y ago[deleted]
- whatever_dude 10y agoOther than the superfluous "a string that contains", it's actually a pretty informative comment.