projects
/
MicroTrace.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added make clean, make all to .cproject
[MicroTrace.git]
/
Sphere.hxx
1
#ifndef SPHERE_HXX
2
#define SPHERE_HXX
3
4
#include "Primitive.hxx"
5
6
7
class Sphere : public Primitive
8
{
9
public:
10
Sphere(const Vec3f& center, float radius, Shader* shader);
11
virtual ~Sphere();
12
13
virtual bool Intersect(Ray& ray);
14
virtual Vec3f GetNormal(Ray& ray);
15
private:
16
Vec3f m_center;
17
float m_radius;
18
};
19
#endif
This page took
0.045021 seconds
and
5
git commands to generate.