/usr/include/BALL/VIEW/MODELS/ballAndStickModel.iC is in libballview1.4-dev 1.4.3~beta1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | // -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: ballAndStickModel.iC,v 1.3 2005/12/23 17:02:17 amoll Exp $
BALL_INLINE
float AddBallAndStickModel::getBallRadius() const
{
return ball_radius_;
}
BALL_INLINE
float AddBallAndStickModel::getStickRadius() const
{
return stick_radius_;
}
BALL_INLINE
void AddBallAndStickModel::enableBallAndStickModel()
{
ball_and_stick_ = true;
}
BALL_INLINE
void AddBallAndStickModel::enableStickModel()
{
ball_and_stick_ = false;
}
BALL_INLINE
bool AddBallAndStickModel::isBallAndStickModel() const
{
return ball_and_stick_;
}
BALL_INLINE
bool AddBallAndStickModel::isStickModel() const
{
return (!ball_and_stick_);
}
|