first commit

This commit is contained in:
陈赣
2026-06-03 12:43:14 +08:00
commit ba76cfae28
608 changed files with 120791 additions and 0 deletions

17
objects/shapes/vp_line.cpp Executable file
View File

@@ -0,0 +1,17 @@
#include "vp_line.h"
namespace vp_objects {
vp_line::vp_line(vp_point start, vp_point end): start(start), end(end) {
}
vp_line::~vp_line() {
}
float vp_line::length() {
return start.distance_with(end);
}
}