Bowls
|
Class that represents a Bowl. More...
#include <Bowl.h>
Public Member Functions | |
Bowl (cgg::Mat43) | |
Bowl (cgg::Mat43, cgg::Vec3, float) | |
Bowl (cgg::Vec3) | |
Bowl (cgg::Vec3, cgg::Vec3, float) | |
void | render (gl::Primitives *) |
Public Member Functions inherited from Ball | |
Ball (cgg::Mat43) | |
Ball (cgg::Mat43, cgg::Vec3, float) | |
Ball (cgg::Vec3) | |
Ball (cgg::Vec3, cgg::Vec3, float) | |
float | getRadius () |
float | getThrow () |
Public Member Functions inherited from CollisionEntity | |
CollisionEntity (cgg::Mat43) | |
CollisionEntity (cgg::Mat43, cgg::Vec3) | |
CollisionEntity (cgg::Vec3) | |
CollisionEntity (cgg::Vec3, cgg::Vec3) | |
void | updateXVelocity (float) |
void | updateYVelocity (float) |
void | updateZVelocity (float) |
float | getXVelocity () |
float | getYVelocity () |
float | getZVelocity () |
Public Member Functions inherited from Entity | |
Entity (cgg::Mat43) | |
Entity (cgg::Mat43, cgg::Vec3) | |
Entity (cgg::Vec3) | |
Entity (cgg::Vec3, cgg::Vec3) | |
void | changePosition (cgg::Vec3) |
void | updatePosition (cgg::Vec3) |
cgg::Vec3 | getPosition () |
void | updateColour (cgg::Vec3) |
Additional Inherited Members | |
Protected Attributes inherited from Ball | |
float | radius |
Contains the radius of the sphere. More... | |
float | maxThrowStrength |
the maximum the ball can be thrown More... | |
Protected Attributes inherited from Entity | |
cgg::Mat43 | transform |
cgg::Mat43 containing a transform (position,rotation,scale). More... | |
cgg::Vec3 | colour |
cgg::Vec3 containing a colour's r,g,b values. More... | |
Class that represents a Bowl.
Class that contains a bowl and its interactions with the game.
Bowl::Bowl | ( | cgg::Mat43 | ) |
Bowl::Bowl | ( | cgg::Mat43 | , |
cgg::Vec3 | , | ||
float | |||
) |
Bowl::Bowl | ( | cgg::Vec3 | ) |
Bowl::Bowl | ( | cgg::Vec3 | , |
cgg::Vec3 | , | ||
float | |||
) |
|
virtual |
Renders a sphere
Creates a sphere using the objects internal values and passes it into primitiveList.
gl::Primitives* | - Pointer to a list of primitives |
Reimplemented from Ball.