mirror of https://github.com/axmolengine/axmol.git
41 lines
900 B
Lua
41 lines
900 B
Lua
|
|
||
|
--------------------------------
|
||
|
-- @module OBB
|
||
|
-- @parent_module cc
|
||
|
|
||
|
--------------------------------
|
||
|
--
|
||
|
-- @function [parent=#OBB] reset
|
||
|
-- @param self
|
||
|
|
||
|
--------------------------------
|
||
|
--
|
||
|
-- @function [parent=#OBB] set
|
||
|
-- @param self
|
||
|
-- @param #vec3_table center
|
||
|
-- @param #vec3_table _xAxis
|
||
|
-- @param #vec3_table _yAxis
|
||
|
-- @param #vec3_table _zAxis
|
||
|
-- @param #vec3_table _extents
|
||
|
|
||
|
--------------------------------
|
||
|
-- Transforms the obb by the given transformation matrix.
|
||
|
-- @function [parent=#OBB] transform
|
||
|
-- @param self
|
||
|
-- @param #mat4_table mat
|
||
|
|
||
|
--------------------------------
|
||
|
--
|
||
|
-- @function [parent=#OBB] getCorners
|
||
|
-- @param self
|
||
|
-- @param #vec3_table verts
|
||
|
|
||
|
--------------------------------
|
||
|
--
|
||
|
-- @function [parent=#OBB] containPoint
|
||
|
-- @param self
|
||
|
-- @param #vec3_table point
|
||
|
-- @return bool#bool ret (return value: bool)
|
||
|
|
||
|
return nil
|