Implement initial engio experiments
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
#include "lpx-basebuffer.hpp"
|
||||
|
||||
|
||||
using FlxSimpleDynamic = SimpleDynamic<std::string>;
|
||||
|
||||
class FlxStreamBufferCore {
|
||||
private:
|
||||
bool err_eof_on_read_;
|
||||
@@ -28,13 +30,13 @@ class FlxStreamBuffer : public BaseBuffer<FlxStreamBufferCore, std::string> {
|
||||
public:
|
||||
using BaseBuffer::BaseBuffer;
|
||||
|
||||
void write_dxyz(const FVector &xyz) {
|
||||
void write_dvector(const FVector &xyz) {
|
||||
write_double(xyz.X);
|
||||
write_double(xyz.Y);
|
||||
write_double(xyz.Z);
|
||||
}
|
||||
|
||||
FVector read_dxyz() {
|
||||
FVector read_dvector() {
|
||||
double x = read_double();
|
||||
double y = read_double();
|
||||
double z = read_double();
|
||||
|
||||
Reference in New Issue
Block a user