IDE: Visual Studio 2005
Hi,
Consider the following enumeration:
/// Various camera actions that may be performed.
/// These actions are usually a result of input events.
enum CameraAction
{
MOVE_FORWARD = 0//= 1<<0
, MOVE_BACKWARD //= 1<<1
, MOVE_LEFT //= 1<<2
, MOVE_RIGHT //= 1<<3
, MOVE_UP //= 1<<4
, MOVE_DOWN //= 1<<5
, ROTATE_RIGHT
, ROTATE_LEFT
, ROTATE_UP
, ROTATE_DOWN
, ROLL_LEFT
, ROLL_RIGHT
, INCREASE_ACCEL
, DECREASE_ACCEL
, CAMERA_ROTATION
, AUTO_MOVE
///////////////////////////////////
, NUM_CAMERAACTIONS
, CAMERAACTION_NONE //= 0
};
Make a special note at the comments to the right of the top-most enumerated members. Place your caret within any enumeration member in this enumeration and look at the Definition bar at the top (next to the context bar). Notice how it shows the contents of the comments in the field. These should not appear.