18 lines
343 B
Plaintext
18 lines
343 B
Plaintext
--@include /koptilnya/libs/utils.txt
|
|
|
|
require("/koptilnya/libs/utils.txt")
|
|
|
|
Mesh = class("Mesh")
|
|
|
|
accessorFunc(Mesh, "_entity", "Entity", chip())
|
|
|
|
if SERVER then
|
|
|
|
else
|
|
function Mesh:setData(data)
|
|
self:getEntity():setMesh(data)
|
|
self:getEntity():setRenderBounds(Vector(-200), Vector(200))
|
|
end
|
|
end
|
|
|
|
--function Mesh:get |