/
BirdLeon
/
ROBLOX2016
Обзор
Документация
Войти
/
BirdLeon
/
ROBLOX2016
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
App/util/CellID.cpp
36 строк
632 B
PatoFlamejanteTV
full source code
19 дек 2024, 19:11
19 дек 2024, 19:11
05db15d
Код
Авторство
О чём код?
/* Copyright 2003-2005 ROBLOX Corporation, All Rights Reserved */ #include "stdafx.h" #include "Util/CellID.h" namespace RBX { namespace Reflection { template<> const Type& Type::getSingleton<CellID>() { static TType<CellID> type("CellId"); return type; } } CellID::CellID( bool newIsNil, float newLocation[3], shared_ptr<Instance> newTerrainPart ) { isNil = newIsNil; location = G3D::Vector3( newLocation[0], newLocation[1], newLocation[2] ); terrainPart = newTerrainPart; } CellID::CellID() { isNil = true; location = G3D::Vector3( 0.0, 0.0, 0.0 ); } CellID::~CellID() { } } // namespace