Add organized the vector into header and implementation files
This commit is contained in:
12
CM2005 Object Oriented Programming/Topic 2/2.6.1/Vec3D.h
Normal file
12
CM2005 Object Oriented Programming/Topic 2/2.6.1/Vec3D.h
Normal file
@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
class Vec3D
|
||||
{
|
||||
public:
|
||||
int getLength();
|
||||
int x;
|
||||
int y;
|
||||
int z;
|
||||
private:
|
||||
int size = 3;
|
||||
};
|
||||
Reference in New Issue
Block a user