Add support for PixelFormat (RGBA, ARGB) in Image, add more CFFI methods
This commit is contained in:
@@ -14,7 +14,7 @@ namespace lime {
|
||||
public:
|
||||
|
||||
Rectangle ();
|
||||
Rectangle (value _rect);
|
||||
Rectangle (value rect);
|
||||
|
||||
double height;
|
||||
double width;
|
||||
|
||||
29
project/include/math/Vector2.h
Normal file
29
project/include/math/Vector2.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef LIME_MATH_VECTOR2_H
|
||||
#define LIME_MATH_VECTOR2_H
|
||||
|
||||
|
||||
#include <hx/CFFI.h>
|
||||
|
||||
|
||||
namespace lime {
|
||||
|
||||
|
||||
class Vector2 {
|
||||
|
||||
|
||||
public:
|
||||
|
||||
Vector2 ();
|
||||
Vector2 (value vec);
|
||||
|
||||
double x;
|
||||
double y;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user