DYTSrouce/src/utils/StringUtils.h
2025-01-04 12:12:51 +08:00

14 lines
322 B
C++

#pragma once
#include <string>
#include <osg/Vec3>
#include <osg/Vec4>
class StringUtils {
public:
static osg::Vec3 StringToVec3(const char* value);
static std::string Vec3ToString(const osg::Vec3& value);
static osg::Vec4 StringToVec4(const char* value);
static std::string Vec4ToString(const osg::Vec4& value);
};