10 #include <glm/glm.hpp>
24 Atom(
float x,
float y,
float z, glm::vec3 color,
float radius);
35 Atom(
float x,
float y,
float z, glm::vec3 color,
float radius, glm::vec3 chainColor);
43 Atom(glm::vec3 pos, glm::vec3 color,
float radius);
52 Atom(glm::vec3 pos, glm::vec3 color,
float radius, glm::vec3 chainColor);
97 void setColor(
float r,
float g,
float b);
106 void offsetPos(
float x,
float y,
float z);
135 glm::vec3 m_chainColor;
~Atom()
Default destructor.
Definition: Atom.cpp:94
void setColor(glm::vec3 color)
A member function to set the color.
Definition: Atom.cpp:60
void offsetPos(float x, float y, float z)
A member function to offset the position.
Definition: Atom.cpp:77
glm::vec3 getChainColor() const
A member function to get the chain color.
Definition: Atom.cpp:50
void setChainColor(glm::vec3 color)
A member function to set the chain color.
Definition: Atom.cpp:84
glm::vec4 getPos() const
A member function to get the current position.
Definition: Atom.cpp:40
Atom(float x, float y, float z, glm::vec3 color, float radius)
Constructor.
Definition: Atom.cpp:10
float getRadius() const
A member function to get the radius.
Definition: Atom.cpp:55
glm::vec3 getColor() const
A member function to get the color.
Definition: Atom.cpp:45