/*
 * Copyright 2017 MovingBlocks
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.terasology.physics.shapes;

import org.terasology.math.AABB;
import org.terasology.math.Transform;
import org.terasology.math.geom.Quat4f;

public interface CollisionShape {
    AABB getAABB(Transform transform);

    CollisionShape rotate(Quat4f rot);
}

@@ -746,81 +746,686 @@
 f;%0A%0A
-public interface CollisionShape %7B%0A    AABB getAABB(Transform transform);%0A
+/**%0A * The base type representing a collision entity in the physics engine.%0A */%0Apublic interface CollisionShape %7B%0A    /**%0A     * Returns the axis-aligned bounding box (%7B@link AABB%7D) for the shape in the space represented%0A     * by %7B@code transform%7D.%0A     * @param transform The %7B@link Transform%7D pertaining to the space in which the AABB is to be calculated.%0A     * @return The %7B@link AABB%7D bounding the shape.%0A     */%0A    AABB getAABB(Transform transform);%0A%0A    /**%0A     * Returns an identical shape rotated through the rotation angles represented by %7B@code rot%7D.%0A     *%0A     * @param rot The quaternion representation of the rotation.%0A     * @return The rotated shape.%0A     */
 %0A   

Document CollisionShape