mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-28 06:12:53 -06:00
Added Android builder juicy example
git-svn-id: svn://ultimatepp.org/upp/trunk@8640 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
20ee1a9a47
commit
99222001cf
15 changed files with 439 additions and 0 deletions
26
examples/AndroidMathUtility/Vector.h
Normal file
26
examples/AndroidMathUtility/Vector.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef _AndroidMathUtility_Vector_h_
|
||||
#define _AndroidMathUtility_Vector_h_
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace AndroidMathUtility {
|
||||
|
||||
class Vector {
|
||||
public:
|
||||
Vector();
|
||||
Vector(int size);
|
||||
Vector(const Vector& vec);
|
||||
virtual ~Vector();
|
||||
|
||||
int GetSize() const { return this->size; }
|
||||
|
||||
std::string ToString() const;
|
||||
|
||||
private:
|
||||
float* data;
|
||||
int size;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue