/
BirdLeon
/
ROBLOX2016
Обзор
Документация
Войти
/
BirdLeon
/
ROBLOX2016
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
App/util/CameraSubject.cpp
24 строки
578 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/CameraSubject.h" #include "rbx/Debug.h" #include "V8DataModel/Workspace.h" #include "V8DataModel/Filters.h" #include "V8DataModel/Camera.h" #include "V8World/ContactManager.h" #include "V8World/World.h" namespace RBX { ContactManager* CameraSubject::getContactManager() { if (Instance* instance = dynamic_cast<Instance*>(this)) { if (World* world = Workspace::getWorldIfInWorkspace(instance)) { return world->getContactManager(); } } return NULL; } } // namespace